Create agent
create_agentCreate an AI agent in a space. Provide a name and optional system-style description. Pass enableProjectTool: true to give it its own project read/write tool (what an agent created in the Taskade UI gets by default). Returns the new agent id.
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": {
"spaceId": "<spaceId>",
"name": "<name>"
},
"name": "create_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the agent | |
| spaceId | Yes | Space ID (workspace) to create the agent in | |
| description | No | System-style role instructions (AgentData.description) | |
| enableProjectTool | No | Let the agent read and write project data itself (default false). Required before `prompt_agent` can have it change projects. |