Skip to content

~~Interface: XAIAgentTool~~

@providerprotocol/ai


@providerprotocol/ai / xai / XAIAgentTool

Defined in: src/providers/xai/types.ts:625

Use the specific tool interfaces and the tools namespace instead. This basic type is maintained for backwards compatibility.

type: "web_search" | "code_execution" | "x_search"

Defined in: src/providers/xai/types.ts:627

The type of server-side tool to enable