initialize_agent
Initialize an agent by loading a role template and launching an AI CLI terminal, enabling role-based interactions.
Instructions
エージェントを初期化し、ロールテンプレートを渡して AI CLI を起動する。
create_agent で作成されたエージェントに対して、roles/ テンプレートを 初期プロンプトとして渡し、ターミナルで AI CLI を起動する。
※ Owner と Admin のみ使用可能。
Args: agent_id: 初期化するエージェントID prompt_type: プロンプトタイプ - "auto": roles/ テンプレートを自動読み込み(デフォルト) - "custom": custom_prompt をそのまま使用 - "file": custom_prompt をファイルパスとして読み込み custom_prompt: カスタムプロンプト(prompt_type が "custom" または "file" の場合) terminal: ターミナルアプリ(auto/ghostty/iterm2/terminal) caller_agent_id: 呼び出し元エージェントID(必須)
Returns: 初期化結果(success, agent_id, cli, prompt_source, message)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| terminal | No | auto | |
| prompt_type | No | auto | |
| custom_prompt | No | ||
| caller_agent_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||