Watch Aspire live streamsDocsTry Aspire

FunctionToolResource

Classsealednet10.0
📦 Aspire.Hosting.Foundry v13.6.0-preview.1.26478.8
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
{
// ...
}
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.
View all constructors
View all properties
View all methods