Issue with Function Calling in OpenAI Playground - No Parameters Sent

I’ve been using function calling in the OpenAI Playground, and it has been working fine until today. However, I just noticed that when I try to trigger a function call, the request does not include any parameters in the "arguments" field.

Here’s an example of the response I’m getting:
{
“role”: “assistant”,
“content”: ,
“tool_calls”: [
{
“id”: “call_JYt3Hgl96nURZuOiSjNFFAmw”,
“type”: “function”,
“function”: {
“name”: “check_availability”,
“arguments”: “”
}
}
]
}
Normally, this function call should include parameters like queries, branches, and required_slots, but now it returns an empty "arguments" string.

Steps to Reproduce:

  1. Use the OpenAI Playground with function calling enabled.
  2. Define a function schema (e.g., check_availability with required parameters).
  3. Input a prompt that should trigger the function call.
  4. The assistant calls the function, but "arguments" is empty.

Additional Information:

  • This issue only occurs in OpenAI Playground.
  • The same API works correctly when called via direct API requests.
  • I’ve tried different models, but the issue persists.

Is this a known issue, or is there a workaround to fix it? Any help would be greatly appreciated.

Thank you!

2 Likes

Hi @ccboy1986 and welcome to the community!

I can reproduce it successfully, I get the following error

{
  "error": "No arguments provided for the 'get_weather' function. Please specify a location and any other parameters such as date or time."
}

Flagging this to the leaders to pass it on.

2 Likes

Thanks for reporting this! We just deployed a fix, sorry for the inconvenience

2 Likes