Cancel a job
cancel_jobCancel a scheduled field service job by customer name or job ID; sets status to canceled without deleting data.
Instructions
Cancel a scheduled job by setting its status to CANCELED. No data is deleted. Provide customerName (finds most recent scheduled job) OR jobId (exact match). Use customerName when user mentions a customer.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cancel_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | No | Only use if you have the exact job ID. | |
| customerName | No | ALWAYS use this when user mentions a customer name. |