Export grid sheet CSV
export_grid_sheet_csvExport the Grid sheet to CSV with the same columns and formatting as Export CSV. Includes all matching rows across pages.
Pass filters or filterId from the same sheet. Omit both to export the whole sheet. The result contains the CSV text, filename, and data row 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": {
"sheetId": "<sheetId>"
},
"name": "export_grid_sheet_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | User task for usage analytics. Omit private details. | |
| filters | No | Grid filter rules joined by AND. Supply filterId instead to reuse saved rules. | |
| sheetId | Yes | Sheet ID from get_grid in this project or the result of create_grid_sheet. | |
| filterId | No | Saved filter ID for this sheet, from save_grid_sheet_filters or the filters parameter in its URL. | |
| llm_model | No | Exact model ID from the calling runtime. Send on every call when known. Omit if unavailable. | |
| projectId | No | Project ID from list_projects. Omit to use the configured or sole accessible project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | CSV text, suggested filename, and the number of matching data rows. | |
| success | Yes | True when the tool returns normally. | |
| executionTime | No | Elapsed time, e.g. 0.12s. |