Bind channel_session_id to caller
bind_channelRebinds an already-registered agent session to a new channel session ID announced by the channel proxy. Use when your current MCP session is already bound to your agent; fresh or resumed sessions should reconnect instead.
Instructions
Low-level rebind tool for Claude channel delivery. Bind the caller session's agent row to a channel_session_id produced by the cross-agent-teams-mcp channel proxy. Most callers should prefer register_agent({ agent_type: "claude-code", channel_session_id, ... }) on the unified registration path. Call this when you need to rebind an already-registered row after the proxy announces a new csid AND your current MCP session is already bound to your agent. On a fresh or resumed MCP session (e.g. after a context clear or resume) the daemon has not yet associated this session with your agent, so bind_channel returns unknown_agent — use reconnect({ ui_pid: $PPID }) instead, which recovers your identity by process id and rebinds the channel in one step. Rejects proxy callers (role=channel_proxy). Rejects unknown csid (no live proxy sink attached).
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": {
"channel_session_id": "<channel_session_id>"
},
"name": "bind_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_session_id | Yes |