json_read
Read and analyze JSON files to explore data structure, understand schema, and get overviews of large datasets for initial data exploration.
Instructions
Read and analyze JSON. Always use this tool to explore JSON structure, understand data schema, or get high-level overviews of large JSON. Use this for initial data exploration or when you need to understand the shape and types of data before extracting specific values.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_path | Yes | Path to the JSON file | |
include_stats | No | Add file size and structure statistics | |
include_types | No | Add type information | |
keys_only | No | Return only the key structure | |
max_depth | No | Limit traversal depth | |
max_keys | No | Maximum number of keys to show per object (default: show all keys) | |
path | No | Dot notation to specific location | |
sample_arrays | No | Show only first N array items |
Input Schema (JSON Schema)
{
"properties": {
"file_path": {
"description": "Path to the JSON file",
"type": "string"
},
"include_stats": {
"description": "Add file size and structure statistics",
"type": "boolean"
},
"include_types": {
"description": "Add type information",
"type": "boolean"
},
"keys_only": {
"description": "Return only the key structure",
"type": "boolean"
},
"max_depth": {
"description": "Limit traversal depth",
"type": "number"
},
"max_keys": {
"description": "Maximum number of keys to show per object (default: show all keys)",
"type": "number"
},
"path": {
"description": "Dot notation to specific location",
"type": "string"
},
"sample_arrays": {
"description": "Show only first N array items",
"type": "number"
}
},
"required": [
"file_path"
],
"type": "object"
}