Channels
| Tool | REST Endpoint | Annotations |
list_channels | GET /v1/channels | read, idempotent |
get_channel | GET /v1/channels/{channelId} | read, idempotent |
assign_channel_agent | PATCH /v1/channels/{channelId} | write |
list_channels
No arguments. Returns the workspace channels grouped, with provider, platform, number, and default agent.
get_channel
| Field | Type | Required | Description |
channelId | string | yes | Document id or prefixedChannelId (e.g. wb-123). |
workspace | string | if multi-ws | |
assign_channel_agent
Assigns (or unassigns) the agent that answers the channel without touching the rest of the configuration. Also allows renaming or connecting/disconnecting.
| Field | Type | Required | Description |
channelId | string | yes | Document id or prefixedChannelId. |
defaultAgentId | string \| null | at least one | Responding agent ID. null to unassign. |
name | string | at least one | Rename the channel. |
isConnected | boolean | at least one | Connect/disconnect. |
workspace | string | if multi-ws | |