Apply Vapi answering template
apply_templateUpdate a Vapi assistant by rendering a local template with client settings, applying optional overrides through deep merging.
Instructions
Render a local template with the client's settings and PATCH the existing Vapi assistant. Optional overrides are deep-merged last.
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": {
"clientSlug": "<clientSlug>"
},
"name": "apply_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clientSlug | Yes | Stable local client slug: lowercase letters, digits, and internal hyphens | |
| templateId | No | ||
| assistantOverrides | No | Raw JSON object matching the relevant Vapi REST request union |