export_json
Export a spreadsheet range or entire sheet's used range to a JSON file. Optionally use the first row as object keys for structured output.
Instructions
Export a range (or a sheet's whole used range) to a JSON file.
With first_row_is_header=true (default) the output is a list of objects keyed by the header row; otherwise a list of row arrays.
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": {
"session_id": "<session_id>",
"json_path": "<json_path>"
},
"name": "export_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | ||
| sheet | No | ||
| json_path | Yes | ||
| overwrite | No | ||
| session_id | Yes | ||
| first_row_is_header | No |