save_token_poll
Check, wait for, or terminate background jobs started via tools.spawnBg, with optional log compaction and intent-based filtering for large outputs.
Instructions
Check, wait for, or kill background jobs started via tools.spawnBg(cmd) with optional RTK compaction (compact) and FTS5 intent filtering.
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": {
"jobId": "<jobId>"
},
"name": "save_token_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kill | No | Terminate the running background process tree. | |
| jobId | Yes | Job ID returned by `tools.spawnBg`. | |
| intent | No | Optional BM25 intent filter for large outputs. | |
| waitMs | No | Wait up to N ms (0..30000) for completion. | |
| compact | No | Apply RTK-style log compaction to output. | |
| maxOutputChars | No | Output character cap (500..32000). |