download_and_read_a_file_from_data_asset
Read file content from a Code Ocean data asset by specifying the asset ID and file path to access stored computational resources.
Instructions
Use when you want to read the content of a file from a data asset
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": {
"data_asset_id": "<data_asset_id>",
"file_path": "<file_path>"
},
"name": "download_and_read_a_file_from_data_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_asset_id | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |