Delete a job
delete_jobDelete a job that has ended, with its logs and saved outputs; it is gone from list_jobs. A job still queued, starting or running cannot be deleted until cancel_job has stopped it. Volumes are not touched.
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": {
"id": "<id>"
},
"name": "delete_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Job ID | |
| workspace | No | Workspace ID (optional: defaults to the authenticated workspace) | |
| environment | No | Environment name (optional: defaults to the environment this session acts in) |