inspect
Find repeatable arrays and object maps in a loaded document that can become linked tables; return table anchors, row counts, fields, types, and format suggestions without exposing values.
Instructions
First step toward a spreadsheet: find the repeatable arrays and object maps in a loaded document that can become linked tables. Returns table anchors, row counts, fields, types, and deterministic format suggestions; document values are not returned. Next, draft_spec writes a mapping and convert writes the file. For field names and types use get_schema, for coverage and statistics profile, and for real values sample.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | A docId returned by load_doc. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| hint | No | ||
| tool | Yes | ||
| error | No | ||
| evicted | No | ||
| structuredTruncated | No |