gradeNot graded
resolve_orderSensitive Action
Submit a buyer's order request written in natural language (e.g. 'send me 2 cases of usb c cables and 10 screen protectors for the 14 pro') and get back the resolved order lines, including which ones still need the buyer to pick between options. Updates the on-screen order draft with the results.
View tool JSON
{
"name": "resolve_order",
"kind": "transact",
"impl": "imperative",
"description": "Submit a buyer's order request written in natural language (e.g. 'send me 2 cases of usb c cables and 10 screen protectors for the 14 pro') and get back the resolved order lines, including which ones still need the buyer to pick between options. Updates the on-screen order draft with the results.",
"inputSchema": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The buyer's raw order request, in natural language."
}
},
"required": [
"message"
],
"additionalProperties": false
}
}get_catalog_infoAnswer
Get the distributor's name, how many items are in the catalog, and the list of product categories carried. Use this to orient before making order requests.
View tool JSON
{
"name": "get_catalog_info",
"kind": "answer",
"impl": "imperative",
"description": "Get the distributor's name, how many items are in the catalog, and the list of product categories carried. Use this to orient before making order requests.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}choose_optionAction
Resolve a pending order line that needs clarification by picking one of its offered options, the same way clicking an option button in the UI does. Use after resolve_order returns a line with type NEEDS_CLARIFICATION.
View tool JSON
{
"name": "choose_option",
"kind": "act",
"impl": "imperative",
"description": "Resolve a pending order line that needs clarification by picking one of its offered options, the same way clicking an option button in the UI does. Use after resolve_order returns a line with type NEEDS_CLARIFICATION.",
"inputSchema": {
"type": "object",
"properties": {
"lineId": {
"type": "string",
"description": "The id of the pending clarification line to resolve."
},
"sku": {
"type": "string",
"description": "The sku of the chosen option, from that line's options list."
}
},
"required": [
"lineId",
"sku"
],
"additionalProperties": false
}
}get_order_draftAnswer
Get the current state of the buyer's order draft: every line with its outcome (resolved, needing clarification, or not found), and the running total price.
View tool JSON
{
"name": "get_order_draft",
"kind": "answer",
"impl": "imperative",
"description": "Get the current state of the buyer's order draft: every line with its outcome (resolved, needing clarification, or not found), and the running total price.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}submit_orderSensitive Action
Submit the buyer's order draft for confirmation. Fails with a clear message if any line still needs clarification — every line must be resolved first (mirrors the UI's disabled Confirm button). This changes state and should prompt the buyer for confirmation before running.
View tool JSON
{
"name": "submit_order",
"kind": "transact",
"impl": "imperative",
"description": "Submit the buyer's order draft for confirmation. Fails with a clear message if any line still needs clarification — every line must be resolved first (mirrors the UI's disabled Confirm button). This changes state and should prompt the buyer for confirmation before running.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}