Wait for results
jerry_waitWait for quotes or a final price after requesting them. Quotes usually take about a minute and nearly always come within 4 minutes. Returns as soon as they're ready, or after timeoutSeconds (at most 20) with the status so far and reason timeout, which only means this call's wait ended; call again while they're still running. When quotes are ready, it returns the quote list too. A final price is ready once it's resolved. If a Jerry agent takes a final price over (manual), or quotes or a final price take longer than usual (delayed), the wait stops with that reason, and the status's nextStep says what happens next. Calling again on delayed quotes or a delayed price keeps waiting.
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": {
"intentId": "<intentId>",
"for": "<for>"
},
"name": "jerry_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| for | Yes | quotes after jerry_request_quotes; final_price after jerry_request_final_price requested it. | |
| intentId | Yes | The shopping intent id returned by an earlier shopping tool. | |
| timeoutSeconds | No | Longest time to wait, in seconds; default 20, at most 20. |