update_canned_service_subcontract
Update a subcontract line item on a canned service template to adjust its name, notes, quantity, description, cost, price, or tax status. Resolve mismatched subcontract details in Shopmonkey work orders.
Instructions
Update a subcontract line item on a canned service template.
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": {
"cannedServiceId": "<cannedServiceId>",
"itemId": "<itemId>"
},
"name": "update_canned_service_subcontract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Updated subcontract name | |
| notes | No | Additional notes | |
| itemId | Yes | The subcontract line item ID to update | |
| quantity | No | Updated quantity | |
| description | No | Updated description | |
| unitCostCents | No | Updated unit cost in integer cents | |
| unitPriceCents | No | Updated unit price in integer cents | |
| cannedServiceId | Yes | The canned service ID | |
| taxableValueType | No | Taxable value type |