Skip to content

ToolSearchOutputItem

type ToolSearchOutputItem = object;
optional call_id?: string | null;
optional callId?: string | null;
optional execution?: "client" | "server";
optional id?: string;

An ID to identify the item. This is optional by default. If a model provider absolutely requires this field, it will be validated on the model level.

optional providerData?: Record<string, any>;

Additional optional provider specific data. Used for custom functionality or model provider specific fields.

optional status?: string;
tools: Record<string, any>[];
optional toolSearchAgentName?: string;

SDK-only discovery attribution, excluded from provider requests. Names must identify the same logical Agent across reused history. Missing or ambiguous ownership requires a new search; this field does not grant tool execution permissions.

type: "tool_search_output";