Share via


AgentServerContext Class

Definition

Provides singleton access to application-level services and context. This context is initialized once at application startup and provides access to shared resources like the tool runtime.

public sealed class AgentServerContext : IAsyncDisposable
type AgentServerContext = class
    interface IAsyncDisposable
Public NotInheritable Class AgentServerContext
Implements IAsyncDisposable
Inheritance
AgentServerContext
Implements

Properties

Name Description
Tools

Gets the tool runtime for accessing and invoking Foundry tools.

Methods

Name Description
DisposeAsync()

Disposes the agent server context and its resources.

Get()

Gets the singleton instance of the agent server context.

Applies to