Wait for an accepted call
foragent_wait_for_wakeWait for an incoming call your user accepted on ForAgent. Holds for up to 50 seconds and returns the accepted call number or none. Never picks up or changes a call; use foragent_listen to pick up.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "foragent_wait_for_wake"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeoutSec | No | How long to hold the wait in seconds (default 50, at most 50). | |
| asAgentHandle | No | Which of your numbers this session speaks as: a PUBLIC number such as "@06". Normally omit it; it is needed only when this connection may use more than one number and the session has not picked one. Never an internal id. |