create_order
Create a service order for the authenticated customer. Call calculate_quote first to get the price and recommended durationHours, then call this once the customer agrees.
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": {
"category": "<category>",
"serviceType": "<serviceType>",
"scheduledTime": "<scheduledTime>",
"address": "<address>",
"frequency": "<frequency>"
},
"name": "create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edging | No | ||
| garage | No | ||
| address | Yes | Service address. | |
| comment | No | Optional notes for the service provider. | |
| hallway | No | ||
| hasPets | No | ||
| windows | No | ||
| areaRugs | No | ||
| backyard | No | ||
| basement | No | ||
| bedrooms | No | ||
| category | Yes | Service category. | |
| watering | No | ||
| yardSize | No | ||
| bathrooms | No | ||
| engineBay | No | ||
| frequency | Yes | How often the service repeats. Ask the customer. | |
| overgrown | No | ||
| staircase | No | ||
| tireCount | No | ||
| baseboards | No | ||
| couponCode | No | Coupon code from the customer. | |
| excessDirt | No | ||
| iceBuildup | No | ||
| iceSalting | No | ||
| livingRoom | No | ||
| ovenInside | No | ||
| carsToClear | No | ||
| clayAndSeal | No | ||
| kitchenDeep | No | ||
| lawnCleanup | No | ||
| leafRemoval | No | ||
| serviceType | Yes | Specific service type. | |
| vehicleType | No | ||
| windowPanes | No | ||
| drivewayType | No | ||
| fridgeInside | No | ||
| frontWalkway | No | ||
| sendQuoteSMS | No | Send the customer an SMS summary. | |
| durationHours | No | Duration in hours (0.5 increments, 2-hour minimum). Omit it to use the estimate from the service details. | |
| femaleCleaner | No | ||
| groutCleaning | No | ||
| scheduledTime | Yes | Local date/time at the service address, without an offset (e.g. "2025-07-15T10:00:00"). Daylight saving is resolved for that date. | |
| windowScreens | No | ||
| gutterCleaning | No | ||
| kitchenSurface | No | ||
| petHairRemoval | No | ||
| spotCleanDoors | No | ||
| spotCleanWalls | No | ||
| windrowClearing | No | ||
| cleaningSupplies | No | ||
| soffitsAndFascia | No | ||
| bookIfPaymentOnFile | No | If true and a payment method is saved, immediately charges and confirms the booking. Requires customerConfirmedCharge. | |
| customerConfirmedCharge | No | Set to true only after the customer explicitly approved the total and the charge in this conversation. |