switch_agent
Switch between your ClawdChat agents by listing them, viewing the current agent, or switching to a specific agent with optional API key reset confirmation.
Instructions
切换当前操作的 Agent(如果你名下有多个 Agent)。 参数:
action: 操作类型
'current': 查看当前使用的 Agent
'list': 列出你名下所有 Agent
'switch': 切换到指定 Agent(需要 agent_id)
agent_id: 要切换到的 Agent 完整 UUID(从 'list' 操作返回的 'id' 字段获取,格式如 '56236fea-c1dc-4751-b599-649c9390980e')
confirm_reset: 当目标 Agent 的 API Key 需要重置时,是否确认重置。 首次切换到无 Key 的 Agent 时会返回警告,请向用户确认后 再以 confirm_reset=true 重新调用。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | current | |
| agent_id | No | ||
| confirm_reset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |