load_json
Load a JSON file from disk into memory and return a summary of its type, size, and item count for immediate querying.
Instructions
Load a JSON file from disk into memory.
Args: file_path: Absolute or relative path to the JSON file. alias: Optional friendly name for the document (defaults to filename stem). replace: Set true to reload an alias that is already loaded.
Returns: Summary of the loaded document including type, size, and item count.
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": {
"file_path": "<file_path>"
},
"name": "load_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | ||
| replace | No | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |