ricardo_81183
09/30/2025, 11:34 AMAI Evy
09/30/2025, 11:34 AMAI Evy
09/30/2025, 11:34 AMAI Evy
09/30/2025, 11:34 AMAI Evy
09/30/2025, 11:34 AMricardo_81183
09/30/2025, 11:36 AMAI Evy
09/30/2025, 11:39 AMricardo_81183
09/30/2025, 11:39 AMAI Evy
09/30/2025, 11:39 AMAI Evy
09/30/2025, 11:39 AMAI Evy
09/30/2025, 11:39 AMAI Evy
11/04/2025, 5:24 AMjcloe_80373
11/04/2025, 5:26 AMAI Evy
11/04/2025, 5:26 AMAI Evy
11/04/2025, 5:26 AMend_call, you'd specify "End the call only when user explicitly requests it" .
2. Control Transition Timing
Function nodes have settings that affect when transitions happen [(2) ]() :
- If wait for result is turned off, the agent transitions immediately after function invocation
- If wait for result is turned on, the agent waits for the function result before transitioning
- You can write transition conditions based on the function result
3. Use Conversation Flow for Better Control
Conversation Flow provides "much finer control over conversation flows" compared to single or multi-prompt agents, with "enhanced node and transition definitions" and "built-in ultra-guidance mechanisms to ensure accurate and reliable responses" [(3) ]() [(4) ]() .
4. Adjust Node Settings
In function nodes, you can choose different LLMs for specific nodes, control whether the agent speaks during execution, and define precise transition conditions [(2) ](AI Evy
11/04/2025, 5:26 AMwait for result is configured appropriately for your use case .AI Evy
11/04/2025, 5:26 AMAI Evy
11/04/2025, 5:26 AMjcloe_80373
11/18/2025, 7:08 AMAI Evy
11/18/2025, 7:08 AMAI Evy
11/18/2025, 7:15 AMWhen user provided the city name, please get the weather for that city by calling the `get_weather` function.
The LLM will use your function's name and description to decide when to call it [(2) ]() . Based on the conversation context, the agent determines when a function is needed, extracts required parameters, and then executes the function .
For custom functions specifically, you should update the prompt to explicitly state the best time to invoke the function [(1) ]() . This helps guide the LLM's decision-making process about when to trigger your tools.
**AI Evy
11/18/2025, 7:15 AMjcloe_80373
11/18/2025, 7:24 AMAI Evy
11/18/2025, 7:24 AMAI Evy
11/18/2025, 7:24 AMAI Evy
11/18/2025, 7:25 AMAI Evy
11/18/2025, 7:25 AMjcloe_80373
11/18/2025, 7:26 AMAI Evy
11/18/2025, 7:26 AMAI Evy
11/18/2025, 7:28 AMAI Evy
11/18/2025, 7:28 AMjcloe_80373
11/18/2025, 12:17 PMlog_item_status function immediately
3. Confirm the status has been recorded
## Response Guidelines
Keep confirmations brief and clear.
Always call the function before providing confirmation.AI Evy
11/18/2025, 12:17 PMAI Evy
11/18/2025, 12:17 PMjson
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "The status of the item"
}
},
"required": [
"status"
]
}
A common mistake is not adding "type": "object", to the top level of the JSON schema .
#### 2. Verify Your Function Configuration
Ensure these settings are correct :
- **Name**: Must be unique and separated with underscores (e.g., log_item_status)
- **Description**: Should clearly explain when to call the function (e.g., "Log the item status information provided by the user")
- **HTTP Method**: Set to POST
- **Endpoint URL**: Must be a valid URL without a trailing slash [(2) ]()
**Important**: A trailing slash in your endpoint URL can cause the request to be sent as GET instead of POST .
#### 3. Strengthen Your Prompt Instructions
Make your prompt more explicit about the trigger condition [(1) ]() . Try this format:
When user provided the status information, please log that status by calling the `log_item_status` function.AI Evy
11/18/2025, 12:17 PMAI Evy
11/18/2025, 12:17 PMAI Evy
11/18/2025, 12:17 PMjcloe_80373
11/24/2025, 12:02 PMAI Evy
11/24/2025, 12:02 PMAI Evy
11/24/2025, 12:03 PMAI Evy
11/24/2025, 12:03 PMWhen user provides the status information, immediately call the `log_item_status` function. After the function completes, provide the confirmation message without waiting for user response.
This combination of enabling "speak after execution" and clear prompt instructions ensures your function triggers and the agent continues speaking automatically, without requiring the user to take a turn .
**AI Evy
11/24/2025, 12:03 PMAI Evy
11/24/2025, 12:03 PM