voice_prompt in the API). When it needs an action or information, it hands the request to the backend: the backend text model that follows your main prompt (general_prompt) and runs your functions and knowledge base.
Use conversation instructions for the agent’s role, speaking style, and when to hand a request to the backend. Put procedures, function rules, and business facts such as prices and hours in the main prompt.
Retell adds call control and the agent’s settings to the voice model’s instructions for you. You write the parts below.
Recommended prompt structure
Start with the template for the model your agent runs. gpt-live-1 hands off on the<|SpawnThinking|> token, and gpt-live-1.1 on plain wording. Keep the labels exactly as written and customize the text under them.
Backend tools:, one per line. The voice model uses this list to decide which requests to hand off. It doesn’t see your functions.
Pair it with the main prompt
Write each rule in one place. The conversation instructions say when to hand off; the main prompt says how to do the work.Delegation
Write handoff triggers as things the caller says or does, with concrete conditions: “The caller picks a time you offered,” not a function name or an internal step. Hand off before any answer that depends on the backend, such as availability, a booking, an account detail, a price, or office hours. A spoken line like “Let me check” doesn’t start backend work; only a handoff does. Answer directly only for conversation: greetings, who the agent is, repeating something already said on the call, and short clarifications.What Retell adds
Retell writes these rules into the voice model’s instructions from the agent’s functions and settings. To change one, change the setting.- End call: hand off when the caller is done or says goodbye.
- Transfer call: hand off when the caller asks for a person or a transfer.
- Press digit: hand off to press keypad digits in a phone menu.
- Voicemail and IVR, do-not-call, and callback detection, when they’re on.
- Interruption sensitivity, responsiveness, backchannel, language, voice speed, pronunciation, boosted keywords, and guardrails.
- Backend results: say them in the agent’s own words, keep names, numbers, and dates exact, and never mention the backend.
Exact wording
Quote any line the agent must say word for word:{{first_name}} are filled in once, when the call starts. Conversation instructions can be at most 15,000 tokens (as of November 2026).
Language and accent
The voice sets most of the accent. Pick a GPT Live voice with the regional influence you want, such as British or Australian English, or Mexican or Argentine Spanish. See the voice list. Retell adds “Speak [language] unless the user asks to switch.” from the agent’s language setting. It names only the language, so name the variety yourself:Test your prompt
Make a web call and try each rule from both sides: requests the agent should hand off and ones it should answer itself. For information requests, check the answer. For actions, such as a booking or a transfer, check the function result in the call’s transcript. Say goodbye and check that the call ends. For persona, pacing, interruption, and patience examples, see OpenAI’s GPT Live prompting guide.FAQ
My agent said it was transferring or ending the call, but nothing happened. Why?
My agent said it was transferring or ending the call, but nothing happened. Why?
Open the call and check whether the transfer or end call function ran. If it didn’t, either the voice model didn’t hand off or the backend decided not to act. Check that your delegation policy covers the request with your model’s labels, and check the conditions for that function in the main prompt. If the caller spoke after the agent’s last line, Retell cancels the pending transfer or end call so the conversation can continue.
Can I keep <|SpawnThinking|> in my instructions on gpt-live-1.1?
Can I keep <|SpawnThinking|> in my instructions on gpt-live-1.1?
Use the plain labels on gpt-live-1.1. When you move an agent between versions, update the labels. Retell writes its own lines in the wording for each model.
Where do function details and step-by-step procedures go?
Where do function details and step-by-step procedures go?
In the main prompt and the knowledge base. The backend follows them when the voice model hands off. Conversation instructions only need one line per capability under
Backend tools:.
