process_order
Processes customer orders by validating required details such as customer name, email, and item list. Supports priority levels and optional notes.
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 |