Wait for a deployment to be accepted and its instances to run
flux_wait_for_appPolls the network for payment confirmations and spec acceptance, returning running instances with URLs. Call repeatedly until done=true.
Instructions
Polls the network for up to timeoutSeconds (default 300, max 600). Returns payment confirmations, whether the spec was accepted, and the running instances with URLs. Safe to call repeatedly until done=true.
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": {
"name": "<name>"
},
"name": "flux_wait_for_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| txid | No | Payment txid from flux_deploy_app, to report confirmations. | |
| previousHash | No | For updates: the hash of the previous spec, so acceptance means a new hash. | |
| timeoutSeconds | No |