mask_json
Show the shape of large JSON documents by keeping key paths and shortening long arrays and strings. Inspect big API responses, then expand omitted details with a path.
Instructions
Show the shape of a large JSON document: every key path stays, long arrays and strings are shortened. Use it to see what a big API response contains; fetch details with expand and a path such as $.items[3].
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": "mask_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File to read, inside the server's root folder. Preferred way to pass input. | |
| text | No | The text itself. Only for small inputs: large text costs tokens to send. | |
| command | No | A command to run and trim (no shell). Only works if started with --allow-run. | |
| max_depth | No | Nesting levels shown before summarising. | |
| max_items | No | Array items kept. | |
| max_string | No | Characters kept per long string. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |