retell_update_llm
Modify an AI agent's language model configuration by updating its base model, system prompt, or greeting message 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-787 (registration)Tool registration including name, description, and input schema definition used for MCP tool listing.{ 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)Handler logic within executeTool switch statement that processes input arguments and makes a PATCH request to the Retell API to update the LLM configuration.case "retell_update_llm": { const { llm_id, ...llmUpdateData } = args; return retellRequest(`/update-retell-llm/${llm_id}`, "PATCH", llmUpdateData as Record<string, unknown>); }