Download a file from an instance
file_downloadDownload a file from a running instance. Returns the file content as a string. Uses keyless SCP. Docs: https://www.runcrate.ai/docs/instances/connecting#file-transfer
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": {
"id": "<id>",
"path": "<path>"
},
"name": "file_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Instance ID | |
| path | Yes | Remote file path (e.g., /workspace/results.txt) | |
| workspace | No | Workspace ID (optional: defaults to the authenticated workspace) | |
| environment | No | Environment name (optional: defaults to the environment this session acts in) |