read_script
Access a MATLAB script file from the temporary directory and retrieve its text content for inspection or processing.
Instructions
Read a MATLAB .m script file from the session's temporary directory.
Returns the file content as text. Use list_files to see available files.
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_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||