Tools
Tools are functions that models can use during process requests to retrieve data, run code, or call external systems. Use this page to identify the tools supported for Enterprise AI Agents in OCI Generative AI and the reference topic for each tool.
OpenAI-Compatible Tools
You can use the following supported OpenAI-Compatible tools through the tools parameter in OCI Responses API.
Supported Models and Regions
For OCI-OpenAI Compatible Endpoints and Tools
| Tool | tools[].type |
See |
|---|---|---|
| File Search | file_search |
File Search |
| Code Interpreter | code_interpreter |
Code Interpreter |
| Function Calling | function |
Function Calling |
| MCP Calling | mcp |
MCP Calling |
xAI-Compatible Tools
The xAI-compatible tools are built-in tools that work with supported XAI models, you provide the tool configuration, and the API runs the tools and returns the results. In OCI Generative AI, you can use these tools, only through the tools parameter in OCI Responses API.
Supported Models and Regions
agentic-regions.htm#xai-compatible-tools
| Tool | tools[].type |
See QuickStart |
|---|---|---|
| Web Search | web_search |
xAI Web Search Tool |
| X Search | x_search |
xAI X Search Tool |
| Code Execution | code_interpreter |
xAI Code Execution Tool |
Although you call xAI models through the OCI Responses API, which is compatible with the OpenAI Responses API, the supported xAI tools are provided by xAI and accept the xAI tool parameters and limits.
OCI-Native Tool
OCI Generative AI supports the following OCI-native tool that can be used in agent workflows, but doesn't require the OCI Responses API tools field.
| Tool | Configuration | See QuickStart |
|---|---|---|
| SQL Search (NL2SQL) | Not a Responses API tools entry. Use the Generative AI Nl2SQL API endpoints. |
Set Up the OCI NL2SQL Tool |