get_schema
Describes the field names and types in a JSON document or selected JSONPath subtree, merging matches, so you can identify valid paths for querying without reading values.
Instructions
Field names and types of the document — never values. With no path, describes the whole document; with a path, describes just what it selects, merged across matches (so $.tasks[*] describes an element, not the first element). Array shapes are inferred from up to 30 elements; use profile for exact coverage/counts. Start here: it is how you learn which paths run_query can use. For one question, pass filePath directly; it opens the file and returns a reusable docId in the same call. A path that matches nothing returns an error naming that path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional query selecting the subtree to describe, e.g. $.tasks[*]. | |
| docId | No | A docId returned by load_doc. | |
| filePath | No | File to open now instead of supplying docId. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| hint | No | ||
| tool | Yes | ||
| error | No | ||
| evicted | No | ||
| structuredTruncated | No |