cancel_job
Stop a currently running data synchronization job in CData Sync by specifying its name or ID. Use this tool to halt ongoing ETL processes and manage job execution.
Instructions
Stop a currently running job.
RETURNS:
Success: Confirmation of cancellation request
Error: { code: -32603, message: "error details" }
COMMON ERRORS:
"Job not running" - Job may have already completed
"Job not found" - Verify job name/ID
"Cancellation failed" - Job may be in uncancellable state
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 |
|---|---|---|---|
| jobName | No | Name of the running job to cancel | |
| jobId | No | Alternative: UUID of the running job to cancel | |
| workspaceId | No | Workspace ID to use for this operation. Overrides the default workspace. Use 'default' for the default workspace or a UUID for specific workspaces. |