channels_connect_session_cancel
Stop a connect session that is still waiting. Returns the session with cancelled.
Only a waiting session is cancelled. On a session that is already connected this does nothing (cancelled: false, status stays connected): it never disconnects a number.
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": {
"session_id": "<session_id>"
},
"name": "channels_connect_session_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session_id that channels.connect_session.start returned. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |