Fetch Results
fetch_resultsDownload a finished simulation's results archive to a local directory, returning its file path and size for opening or publishing. Call only after the run reaches a terminal state.
Instructions
Download a finished simulation's results to a local file.
Writes the results archive to dest_dir (a temp dir by default) and returns
the path and size rather than the raw bytes, so the host can open or publish
the file. Call only once the run is terminal (see simulation_status).
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": {
"simulation_id": "<simulation_id>"
},
"name": "fetch_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest_dir | No | ||
| simulation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||