FunctionToolResource
Classsealednet10.0
A Foundry tool resource that enables an agent to call a user-defined function.
namespace Aspire.Hosting.Foundry;
public sealed class FunctionToolResource : Aspire.Hosting.Foundry.FoundryToolResource{ // ...}6 members
Remarks
Section titled Remarks Function calling tools allow agents to invoke functions defined by the application. The agent decides when to call the function based on the function name, description, and parameter schema, then returns a structured function call request that the application handles.
Constructors1
Section titled Constructors Creates a new instance of the
FunctionToolResource class. Properties4
Section titled PropertiesView all properties
Methods1
Section titled MethodsTask<ResponseTool> Converts this tool definition into the SDK
Responses.ResponseTool representation.