download_map
Check a pending map generation job and download the image when ready, handling internal waiting so you don't have to poll. Returns immediately if done; otherwise call again with the same data key.
Instructions
Check a pending generate_* job and download it once ready. If it's already done, returns the image immediately; otherwise waits internally (checking periodically) before returning — no need to wait between calls yourself. If still not ready when it returns, call it again with the same dataKey.
Example: download_map(data_key="20260618aBcDeFgHiJ")
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_key": "<data_key>"
},
"name": "download_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_key | Yes | The dataKey returned by a generate_* call that reported it was still in progress. |