콘텐츠로 이동

MCPToolFilterCallable

이 콘텐츠는 아직 번역되지 않았습니다.

type MCPToolFilterCallable<TContext> = (context, tool) => Promise<boolean>;

A function that determines whether a tool should be available.

Type Parameter Default type

TContext

UnknownContext

Parameter Type

context

MCPToolFilterContext<TContext>

tool

MCPTool

Promise<boolean>