Workspace and job state
jobsInspect, monitor, and control MacroStress workspace tasks: check state and status, read logs, cancel runs, or wait server-side for long-running work to finish.
Instructions
Workspace and task state. Actions: state, status, log, cancel, wait.
wait polls the job server-side, so one call replaces the loop of status and
log calls an agent would otherwise run while a long job works; it returns the
record status returns, and running says whether to call it again.
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": {
"action": "<action>"
},
"name": "jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The job id that status, log, cancel and wait read: the id a starting tool returned. | |
| tail | No | How many lines of the log to return, counted from the end; the whole log when 0. | |
| action | Yes | What to do with the workspace or one job: state, status, log, cancel or wait. wait holds the call until the job ends or timeout_sec passes; cancel stops the job's process tree and frees its resource. | |
| timeout_sec | No | How long wait holds the call, in seconds. The job's record comes back when the time is out; call wait again to keep waiting. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||