Wait for credits
wait_for_credits[read] After a tool answered waiting_for_credits: holds until the person has added the credits that call needs, up to ten minutes, then answers covered: true. Call it right after telling the person, in one plain sentence, how many more credits are needed and where to add them (the waiting_for_credits answer says where). When it answers covered, call the tool again with the same arguments. When it answers covered: false, do as its message says and do not retry the tool. Never name a tool to the person.
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": {
"hold_id": "<hold_id>"
},
"name": "wait_for_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hold_id | Yes | The hold_id from the waiting_for_credits answer. | |
| timeout_seconds | No | How long to wait at most. Left out, it waits until the hold runs out. |