codex_cancel
Stop a running codex job by sending SIGTERM to its subprocess. Provide the job ID from codex_start to cancel the task.
Instructions
Cancel a running codex job by sending SIGTERM to the subprocess.
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": "codex_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id returned by codex_start. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||