MCPToolFilterContext
Context information available to tool filter functions.
Type Parameters
Section titled “Type Parameters”Type Parameter | Default type |
---|---|
|
Properties
Section titled “Properties”agent: Agent<TContext, any>;
The agent requesting the tools.
runContext
Section titled “runContext”runContext: RunContext<TContext>;
The current run context.
serverName
Section titled “serverName”serverName: string;
Name of the MCP server providing the tools.