agent_register
Store agent configuration in the database with team ID, name, role, model, and system prompt. Creates a DB record without executing an agent.
Instructions
⚠️ INTERNAL USE ONLY — 请使用CC原生的Agent工具创建Agent,不要调用此MCP工具。
NOTE: For normal workflow, use CC's Agent tool with team_name parameter instead. CC Agent tool spawns a real subprocess AND auto-registers via hooks. This MCP tool only creates a DB record — no actual agent process is started.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Agent name | |
| role | Yes | Agent role description | |
| model | No | Model to use; empty = unknown (displayed as --, backfilled by telemetry) | |
| team_id | Yes | Target team ID or name | |
| system_prompt | No | Agent's system prompt |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||