assistants_create
Create an assistant. Required: name and a subaccount selected by subAccountId, subaccount_id, location_id, or the request header/key scope (an explicit selector on the call takes precedence over the connection default and is authorized against the key). llmConfig supports prompt, model, temperature (0–2); voiceId and assistantType are aliases for voice_id and assistant_type. Flat v3 fields are also accepted; conflicting aliases are rejected. voiceConfig/chatConfig records and unknown llmConfig keys are unsupported and return errors. Use voice_settings or flat inbound_greeting/outbound_greeting for greetings; platform_tools declaratively replaces platform-catalog attachments.
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": "assistants_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the assistant. | |
| model | No | LLM model. Defaults to KIMI_K2_6 when omitted. | |
| prompt | No | System prompt. If omitted, a minimal default prompt is generated from the name. | |
| voiceId | No | ||
| language | No | BCP-47 language code (default 'en'). | |
| voice_id | No | Voice PK (the `id` from GET /v3/voices). Defaults to the system default voice when omitted. | |
| llmConfig | No | ||
| chatConfig | No | ||
| description | No | ||
| location_id | No | Alias for subaccount_id (GHL location id). | |
| temperature | No | Sampling temperature 0–2 (default 0). | |
| voiceConfig | No | ||
| subAccountId | No | Target subaccount id. Prefer the X-Subaccount-Id header; this body field is a fallback. | |
| assistantType | No | Assistant type. STANDARD (default) is a prompt-driven assistant; FLOW_BUILDER is node/flow driven. | |
| subaccount_id | No | Target subaccount id. Prefer the X-Subaccount-Id header; this body field is a fallback. | |
| voice_enabled | No | Whether voice calling is enabled (default true). | |
| assistant_type | No | Assistant type. STANDARD (default) is a prompt-driven assistant; FLOW_BUILDER is node/flow driven. | |
| platform_tools | No | Platform tool names to attach, e.g. ["book_appointment", "send_email"]. Declarative within the platform catalog: tools in the list are attached, catalog tools missing from the list are detached, custom tools are never touched. Omit for no change; [] detaches all platform tools. See GET /v3/tools for the catalog; custom tools attach via POST /v3/tools/{id}/assign. | |
| voice_settings | No | ||
| inbound_greeting | No | ||
| outbound_greeting | No |