read_json
Read JSON files from disk, select specific fields, and detect schema to streamline data analysis.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filePath": "<filePath>"
},
"name": "read_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Fields to include in the output. If not specified, all fields are included. | |
| filePath | Yes | Path to the JSON file on disk (.json) | |
| detectSchema | No | Whether to analyze and return the JSON schema structure |