diff --git a/specification/ai/Azure.AI.Projects/agents/client.tsp b/specification/ai/Azure.AI.Projects/agents/client.tsp index f277eabec662..aaa03a11eacf 100644 --- a/specification/ai/Azure.AI.Projects/agents/client.tsp +++ b/specification/ai/Azure.AI.Projects/agents/client.tsp @@ -37,7 +37,7 @@ namespace Azure.AI.Projects.Agents { @@access(FunctionDefinition, Access.internal); @@clientName(FunctionDefinition, "InternalFunctionDefinition", "csharp"); @@clientName(FunctionToolDefinition.function, "InternalFunction", "csharp"); - @@clientName(AzureFunctionDefinition.FunctionDefinition, "InternalFunction", "csharp"); + @@clientName(AzureFunctionDefinition.function, "InternalFunction", "csharp"); // SubmitToolOutputsAction: include .tool_calls directly rather than via an intermediate .details. diff --git a/specification/ai/Azure.AI.Projects/agents/tools/models.tsp b/specification/ai/Azure.AI.Projects/agents/tools/models.tsp index 6c7693953468..529aca83b767 100644 --- a/specification/ai/Azure.AI.Projects/agents/tools/models.tsp +++ b/specification/ai/Azure.AI.Projects/agents/tools/models.tsp @@ -142,8 +142,7 @@ model FunctionDefinition { model AzureFunctionDefinition { @doc("The definition of azure function and its parameters.") - @encodedName("application/json", "function") - Function: FunctionDefinition; + function: FunctionDefinition; @doc("Input storage queue.") @encodedName("application/json", "input_binding")