add_service_to_order
Add a service to a work order by copying a canned service template or creating a custom service with name, notes, and pricing.
Instructions
Add a service to a work order. Pass fromCannedServiceId to copy an existing canned service template (its labor, parts, fees) onto the order in one call, or pass name/note/pricing to create a custom one-off service instead.
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": {
"orderId": "<orderId>"
},
"name": "add_service_to_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Service name (required if fromCannedServiceId is not given) | |
| note | No | Additional notes for the service | |
| orderId | Yes | The work order ID to add the service to | |
| pricing | No | Pricing model for a custom service | |
| fromCannedServiceId | No | ID of a canned service template to copy onto the order (labor/parts/fees included) |