retell_update_llm
Modify an AI agent's language model configuration by updating its base model, system prompts, and greeting messages to adjust conversation behavior.
Instructions
Update a Retell LLM configuration.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| llm_id | Yes | The LLM configuration ID to update | |
| model | No | New base model | |
| general_prompt | No | New system prompt | |
| begin_message | No | New greeting message |
Implementation Reference
- src/index.ts:762-786 (registration)Tool registration in the tools array, defining name, description, and input schema for retell_update_llm.{ name: "retell_update_llm", description: "Update a Retell LLM configuration.", inputSchema: { type: "object", properties: { llm_id: { type: "string", description: "The LLM configuration ID to update" }, model: { type: "string", description: "New base model" }, general_prompt: { type: "string", description: "New system prompt" }, begin_message: { type: "string", description: "New greeting message" } }, required: ["llm_id"] }
- src/index.ts:1207-1210 (handler)Specific handler logic within the executeTool switch statement that destructures args, extracts llm_id, and makes a PATCH request to the Retell API endpoint /update-retell-llm/{llm_id} with the update data.case "retell_update_llm": { const { llm_id, ...llmUpdateData } = args; return retellRequest(`/update-retell-llm/${llm_id}`, "PATCH", llmUpdateData as Record<string, unknown>); }