load_json_dataset
Load a JSON file and apply a jq expression to parse records, enabling iterative data processing record by record.
Instructions
Load a JSON dataset using a jq expression that returns an array of records
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>",
"jq_expression": "<jq_expression>"
},
"name": "load_json_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the JSON file | |
| jq_expression | Yes | jq expression that returns an array (e.g., '.data[]', '.items', '.[].records') |