job_status
Give the background jobs of the tool calls, the state or the result of one job, or cancel a job.
Instructions
Give the background jobs of the tool calls, the state or the result of one job, or cancel a job.
A tool call that takes longer than 20 s becomes a background job: its answer starts with "⏳" and gives the job ID, and the work continues (also when the client stops to wait for the call). This tool gives the result of the job: the same text that the tool gives, or the same error. A call of the same tool with the same arguments while its job runs starts no second run: it waits for that job again (up to 20 s) and gives its result or its ID. The list also has the calls that run in their first 20 s. The jobs are in the memory of the server process: a restart of the server (of the MCP client) loses them. A finished job stays 1 h (the 50 newest finished jobs).
A cancel stops the task of the job at its next step. Work in a thread does not stop: kicad-cli, the Python of KiCad or a file write can still end and change files. Only the schematic edit tools (add_component_from_library, add_wire and the label tools) do not save when the cancel comes before their save. Check the files after a cancel. Cancel a job only when the user asks.
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": "job_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cancel | No | True: cancel the running job job_id. | |
| job_id | No | The ID of a job. Empty: the list of the jobs of the server process. |