Create Agent
agents_createCreate an agent: a chat persona with a role, tone, guardrails and knowledge that talks to visitors from workflow steps such as the Chat Bot step.
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>"
},
"name": "agents_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The agent's name. | |
| role | No | The job the agent does. | |
| tone | No | How the agent sounds. | |
| language | No | ISO 639-1 code of the language the agent always speaks. Empty matches the visitor's language. | |
| guardrails | No | The preset rules the agent never breaks. Leave empty for the defaults. | |
| styleNotes | No | Free-text notes that refine the tone. | |
| customRules | No | Free-text rules the agent never breaks. | |
| replyLength | No | How long the agent's messages are. | |
| emojiEnabled | No | Whether the agent may use emoji. Off when unset. | |
| instructions | No | Free-text instructions that refine the role. | |
| questionHandling | No | What the agent does when a visitor asks it something. |