process_order
Process customer orders by capturing required details (name, email, product items) with optional priority and notes. Validates input and handles errors.
Instructions
Demonstrates a tool with a rich input schema: nested objects, enums, optional fields, and error handling.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"customer": "<customer>",
"items": "<items>"
},
"name": "process_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | List of items to order | |
| notes | No | Optional order notes | |
| customer | Yes | ||
| priority | No | Order priority level | normal |