콘텐츠로 이동

MCPToolMetaResolver

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

type MCPToolMetaResolver<TContext> = (context) =>
| Promise<Record<string, unknown> | null | undefined>
| Record<string, unknown>
| null
| undefined;

A function that produces MCP request metadata (_meta) for tool calls.

Type Parameter Default type

TContext

UnknownContext

Parameter Type

context

MCPToolMetaContext<TContext>

| Promise<Record<string, unknown> | null | undefined> | Record<string, unknown> | null | undefined