create_order
Create a new order or booking by providing customer ID, service ID, and date range. Optionally add pickup/return times, a comment, and a calendar color.
Instructions
Create a new order/booking. Requires customer, service, and date range. Optionally specify pickup/return times, a comment, and a calendar color.
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_id": "<customer_id>",
"service_id": "<service_id>",
"pickup_date": "<pickup_date>",
"return_date": "<return_date>"
},
"name": "create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | ID of the customer for this booking | |
| service_id | Yes | ID of the service/vehicle being booked | |
| pickup_date | Yes | Pickup date in YYYY-MM-DD format | |
| return_date | Yes | Return date in YYYY-MM-DD format | |
| pickup_time | No | Pickup time in HH:MM format (24h) | |
| return_time | No | Return time in HH:MM format (24h) | |
| comment | No | Optional comment / notes for the booking | |
| color | No | Calendar color for the booking (e.g. "#FF5733") |