agent_add
Register a new custom agent in your team by defining its role, type, name, description, system prompt, allowed tools, and output formats so it can join orchestrated multi-agent workflows.
Instructions
Add a new custom agent to the team
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": {
"role": "<role>",
"name": "<name>",
"type": "<type>",
"description": "<description>",
"prompt": "<prompt>"
},
"name": "agent_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name | |
| role | Yes | Agent role ID (e.g., "security-auditor") | |
| type | Yes | Agent type | |
| tools | No | Allowed tools | |
| prompt | Yes | System prompt content | |
| outputs | No | Output formats | |
| description | Yes | Agent description |