read_data
Read data files (.mat, .csv, .json, .txt, .xlsx) from the session temp directory. Supports summary and raw modes for .mat files and inline content for others.
Instructions
Read a data file (.mat, .csv, .json, .txt, .xlsx) from the session temp directory.
For .mat files, 'summary' mode shows variable names/sizes/types via MATLAB, 'raw' mode returns base64-encoded content. Text files return inline content.
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": {
"filename": "<filename>"
},
"name": "read_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | summary | |
| filename | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||