create-agent
Create a new AI agent by providing a business name and optional settings like services, contacts, and qualification rules, so you can launch a chat agent that answers visitors.
Instructions
Create a new AI agent. Only businessName is required, all other fields are optional.
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": {
"businessName": "<businessName>"
},
"name": "create-agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| faq | No | Frequently asked questions | |
| contacts | No | Contact information | |
| followup | No | Outbound follow-up email. Sent from the owner's connected Gmail so it lands in Primary inbox. Requires visitor opt-in checkbox + gmailConnection on owner. | |
| services | No | List of services offered | |
| chatModel | No | Model that writes replies to visitors. "standard" (default) or "advanced" — better sales conversations, each reply counts as 15 messages against the monthly plan limit. Advanced needs the Starter plan or higher. | |
| claimable | No | Admin only. When true, shows a "Claim agent" button on the public chat page so a prospect can take over this demo agent (it transfers to their account). Defaults to false. | |
| bookingUrl | No | URL for online booking | |
| widgetTitle | No | Title displayed in the chat widget | |
| businessName | Yes | Name of the business (required) | |
| restrictions | No | Topics or actions the agent should avoid | |
| businessHours | No | Business hours (e.g. "Mon-Fri 9am-5pm") | |
| qualification | No | Structured lead qualification (BANT/MEDDIC-style). AI weaves questions into chat, classifier extracts answers, score fires a webhook on threshold crossing. | |
| defaultGreeting | No | Greeting message for visitors | |
| defaultLanguage | No | Language code (e.g. "en", "ru", "es") | |
| escalationRules | No | Rules for when to escalate to a human | |
| communicationTone | No | Communication style | |
| proactiveTriggers | No | Rules that auto-open the widget on visitor behavior. Max 10 per agent. | |
| attachmentsEnabled | No | Let visitors send photos (the agent sees them) and files in chat. Starter plan or higher. Defaults to false. | |
| businessDescription | No | Description of the business |