exportRecords
Export matching records as a CSV file using labels, where, and orderBy filters. Use it when a user explicitly requests a CSV download.
Instructions
Export matching records as a CSV file only when the user explicitly asks to export/download CSV. For normal reading, answering, listing, searching, or inspecting records, use findRecords instead. Accepts the same labels/where/orderBy filters as findRecords. Call findProperties first to know available field names if constructing a where filter.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "exportRecords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of records to export | |
| where | No | Search conditions for records to export | |
| labels | No | Filter by record labels | |
| orderBy | No | Sorting configuration for export |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | Yes | ||
| message | Yes | ||
| dateTime | Yes |