Watch it come up
wait_for_instanceDetermine when an instance is ready by polling its status until it reports online, with phase updates for creating, loading, downloading_weights, stopped, or failed.
Instructions
Polls for up to 45 seconds and returns the phase: creating, loading, downloading_weights, online, stopped or failed. Call repeatedly until online. Weight downloads take most of the boot time. Returns JSON: {ok, message, next_tool, next_args, ...tool-specific fields}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | Yes | ||
| instance_id | Yes | ||
| max_seconds | No | Up to 45 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false only when the tool itself failed (bad input, missing key, API error). | |
| message | Yes | Human-readable summary to relay to the user. | |
| next_args | No | Suggested arguments for next_tool. | |
| next_tool | No | Suggested next tool, or null when nothing else is needed. |