Outline the structure of a large JSON payload
mend_outline_jsonUse when you are about to read a big JSON response, log or export into context, before loading it: returns a compact outline of the structure (keys, types, array lengths, one example per repeated shape) so you can plan a query without spending tokens on the whole document. Repairs the JSON first if needed. Follow with mend_query_json to pull only the values you need. Up to 100,000 characters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The JSON (or JSON-ish text). | |
| max_depth | No | How many levels to expand. Default 4. | |
| max_items | No | How many array items to show when items differ. Default 6. |