download_and_read_a_file_from_computation
Retrieve and read file contents from a Code Ocean computation by specifying the computation ID and file path to access computational outputs.
Instructions
Use when you want to read the content of a file from a computation
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": {
"computation_id": "<computation_id>",
"file_path": "<file_path>"
},
"name": "download_and_read_a_file_from_computation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| computation_id | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |