create_agent
Generates a complete agent configuration from a one-sentence requirement, deriving role, domain rules, think steps, and knowledge. Optionally writes the configuration to a specified agent directory.
Instructions
一句话需求自动推导 Agent 配置(角色+域规则+think+knowledge)。
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": {
"requirement": "<requirement>"
},
"name": "create_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_dir | No | 可选:落盘到指定 Agent 目录(默认不落盘,只返回配置) | |
| requirement | Yes | 一句话需求(必填,如「回答金融合规问题的专家」) |