wait_ready
Block until the sandbox's app answers on a port (or timeout), by probing 127.0.0.1: from inside the sandbox. Returns {ready, port, code}. Use after start_server, before hitting the preview url.
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": {
"sandbox_id": "<sandbox_id>"
},
"name": "wait_ready"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | app port (default 8000) | |
| sandbox_id | Yes | sandbox id | |
| timeout_seconds | No | max seconds to wait (default 30) |