create_agent
ActiveTool of KaiCalls
Create a new KaiCalls voice agent (Vapi assistant + KaiCalls records) with a system prompt, greeting, voice, and model. Mirrors POST /api/v1/agents. Every subsequent mutation to this agent is versioned (assistant_config_versions) and reversible via rollback_config — inspect history with get_change_history / list_config_versions. Compliance: KaiCalls automatically applies state-aware AI-disclosure and consent handling to every agent it provisions, and flags high-risk business categories for extra review.
Parameters schema
{
"type": "object",
"required": [
"business_id",
"name",
"system_prompt"
],
"properties": {
"name": {
"type": "string",
"description": "Agent display name."
},
"model": {
"type": "object",
"description": "Language model selection: { provider, model, temperature } (optional)."
},
"voice": {
"type": "object",
"description": "Raw voice selection: { provider, voiceId } (optional)."
},
"metadata": {
"type": "object",
"description": "Extra KaiCalls metadata to store (optional)."
},
"business_id": {
"type": "string",
"description": "Business ID to create the agent under."
},
"first_message": {
"type": "string",
"description": "Spoken greeting (optional)."
},
"system_prompt": {
"type": "string",
"description": "The agent's inbound system prompt / instructions."
},
"voice_catalog_id": {
"type": "string",
"description": "Preferred: a curated catalog id from list_voices (optional)."
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
KaiCalls
https://github.com/cgallic/kai_calls
1/7 registries