exec_jq
Run jq filters on .tldr files to query or modify drawing data. Enable write mode to persist changes with automatic checkpoint.
Instructions
Escape hatch: run a jq filter against the .tldr JSON. Set write=true to persist (auto-checkpoints first).
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": {
"file": "<file>",
"filter": "<filter>"
},
"name": "exec_jq"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to a .tldr file | |
| filter | Yes | jq filter expression | |
| write | No | If true, write the filter result back to the file. If false, return result only. |