ray_job_cancel
Stop a submitted or running Ray job by job ID, with optional target selection for inference clusters.
Instructions
[WRITE][risk=medium] Stop a submitted/running Ray job.
Args: job_id: Job id (from ray_job_list). target: Inference target name from config; omit for the default.
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": {
"job_id": "<job_id>"
},
"name": "ray_job_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| target | No |