Create a new agent
create_agentCreate an AI agent like step 1 of the app's builder. Choose its direction: purpose "sales" (default), "support" or "info". The agent starts in DRAFT and contacts nobody. Needs at least 1 credit on the balance (checked, not charged). Fails with a plan-limit error when all agent slots are used (see get_agent_plan_limits). Next: set_agent_company → generate_agent_script → channels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Agent's display name, e.g. 'Anna from Acme' | |
| gender | No | Voice/face gender (default female) | |
| purpose | No | sales = sales agent, support = customer support, info = information assistant | |
| description | No | 1-2 sentences about what the agent does | |
| avatar_preset | No | Preset face avatar-1 … avatar-20 (male: 1,4,6,8,10-15; female: 2,3,5,7,9,16-20). For your own photo use set_agent_avatar_from_url afterwards |