bitter-appointment-81509
10/29/2025, 12:53 PMtall-airline-16756
10/29/2025, 12:53 PMtall-airline-16756
10/29/2025, 12:54 PMtall-airline-16756
10/29/2025, 12:56 PMreport_health_concern or CloseConv. To help you better, could you please clarify a few things?
• Are you using a specific chat template or configuration for function calling, such as FireFunction v2?
• Is the expected output format starting with functools[...] or another particular grammar trigger?
• Have you checked that the functions are properly defined in the tools array with a valid JSON schema?
• Is tool calling explicitly enabled in your server or model configuration?
Once we have these details, I’ll be more than happy to help you troubleshoot and find the best solution together!
Sources: tools/server/tests/unit/test_tool_call.py | Tool definition and use | LiveKit Docsbitter-appointment-81509
10/29/2025, 2:14 PMtall-airline-16756
10/29/2025, 2:15 PM{"tool": "report_health_concern", "arguments": {}}! It’s great that you’re exploring this. Function call detection can sometimes vary depending on the model or framework you’re working with, so let’s see if we can figure this out together. Could you please help me understand a bit more?
• Are you using a specific framework, like Firefunction v2 or Llama 3.x?
• Does your setup require a prefix such as functools[ or any other special grammar triggers for function calls?
• Have you checked if tool calling is enabled in your configuration?
Once we have these details, we’ll be in a better spot to confirm if this format works smoothly with your setup. Looking forward to your reply!
Sources: docs/function-calling.mdbitter-appointment-81509
10/29/2025, 2:16 PMtall-airline-16756
10/29/2025, 2:18 PMreport_health_concern might not be working as expected. Let’s walk through some common areas to check together:
• Tool Registration: Please make sure that report_health_concern is defined within a class that inherits from Agent and is decorated with @function_tool(). If it’s not properly registered, the model won’t recognize it as a callable tool.
• Tool Schema: It’s a good idea to verify that the function schema is correctly set up. Using raw_schema for explicit parameter definitions can really help, especially if your model expects strict OpenAI-style schemas.
• Tool Choice Configuration: Could you check your tool_choice setting? If it’s set to none or limited to certain tools, it might be preventing the function call from going through.
• Model-Specific Behavior: If you’re using gpt-5-chat-latest and it’s a custom or less integrated model, it might have some unique requirements or limitations for tool calling. It’s worth confirming that it’s fully supported in your setup.
• Argument Validation: Lastly, please ensure that the model is generating valid arguments for the tool call. Sometimes invalid or missing arguments can cause the call to fail quietly.
To help me assist you better, could you please confirm:
• Is the function properly registered and included in your tools list?
• What is your current tool_choice setting?
• Are there any logs showing argument validation errors or issues during tool execution?
With these details, we’ll be in a great position to pinpoint the issue and find the best solution for you. Looking forward to your reply!
Sources: Docs::Agents | agents/src/voice/generation.ts | livekit-agents/livekit/agents/voice/run_result.py | Agents v0.x migration guide - Python | LiveKit Docsbitter-appointment-81509
10/29/2025, 2:29 PMtall-airline-16756
10/29/2025, 2:30 PM