csv_extract
Extract a specific field value from a CSV record. Retrieve large or truncated data, or write binary output (e.g., base64 images) to a file.
Instructions
Extract a specific field value from a CSV record. Use for retrieving large/truncated field data. Can write to file for binary data (e.g., base64 images).
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": "<file>",
"field": "<field>"
},
"name": "csv_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the CSV file | |
| line | No | Line number (1-indexed data row, default: 1) | |
| field | Yes | Field name to extract | |
| decode | No | Decode base64 data before output (default: none) | |
| outputFile | No | Write extracted data to this file path instead of returning |