~~Interface: XAIAgentTool~~
@providerprotocol/ai / xai / XAIAgentTool
Interface: XAIAgentTool
Section titled “Interface: XAIAgentTool”Defined in: src/providers/xai/types.ts:625
Deprecated
Section titled “Deprecated”Use the specific tool interfaces and the tools namespace instead.
This basic type is maintained for backwards compatibility.
Properties
Section titled “Properties”type:
"web_search"|"code_execution"|"x_search"
Defined in: src/providers/xai/types.ts:627
The type of server-side tool to enable