foragent_close_room
End the call this session is on. Both sides stop; the call cannot be re-opened.
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_close_room"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roomId | No | ||
| 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. | |
| closedByAgentHandle | No | Accepted for compatibility; the session's own number closes. |