MCPToolCustomDataContext
このコンテンツはまだ日本語訳がありません。
Context information available to MCP tool custom data extractors.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
|
|
Properties
Section titled “Properties”arguments
Section titled “arguments”arguments: Record<string, unknown> | null;Parsed tool arguments.
isError?
Section titled “isError?”optional isError?: boolean;MCP tool result isError, if present.
resultMeta?
Section titled “resultMeta?”optional resultMeta?: Record<string, unknown>;MCP tool result _meta, if present.
runContext
Section titled “runContext”runContext: RunContext<TContext>;The current run context.
serverName
Section titled “serverName”serverName: string;Name of the MCP server.
structuredContent?
Section titled “structuredContent?”optional structuredContent?: Record<string, unknown>;MCP tool result structuredContent, if present.
toolDisplayName
Section titled “toolDisplayName”toolDisplayName: string;Public function-tool name exposed through the Agents SDK.
toolName
Section titled “toolName”toolName: string;Original name of the tool on the MCP server.
toolOutput
Section titled “toolOutput”toolOutput: unknown;The model-visible output produced from the MCP tool result.