create_agent
Create a new AI agent in the workspace. Use when a playbook step needs LLM reasoning (for example ticket classification or lead scoring). Model should use provider "gateway" and a model id from list_models. Optional skills[] and tools[] attach tenant skills and HTTP tools. Authoring details are in get_builder_guide topic "agent".
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": {
"name": "<name>",
"instructions": "<instructions>",
"model": "<model>"
},
"name": "create_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| model | Yes | ||
| tools | No | ||
| skills | No | ||
| description | No | ||
| instructions | Yes |