Module tools

Module tools 

Source
Expand description

Comprehensive tools support (web search, file search, MCP, etc.)

§OpenAI Tools Module

This module provides comprehensive support for all OpenAI tools including:

  • Web Search: Include internet data in responses
  • File Search: Search uploaded files for context
  • Function Calling: Call custom functions
  • Remote MCP: Access Model Context Protocol servers
  • Image Generation: Generate or edit images
  • Code Interpreter: Execute code in secure containers
  • Computer Use: Agentic computer interface control

Re-exports§

pub use code_interpreter::*;
pub use code_interpreter_builder::*;
pub use computer_use::*;
pub use computer_use_builder::*;
pub use core_types::*;
pub use file_search::*;
pub use file_search_builder::*;
pub use function_builder::*;
pub use function_tools::*;
pub use image_generation::*;
pub use image_generation_builder::*;
pub use mcp_builder::*;
pub use mcp_tools::*;
pub use tool_builder::*;
pub use tool_choice::*;
pub use web_search::*;
pub use web_search_builder::*;

Modules§

code_interpreter
Code interpreter tool configuration and types
code_interpreter_builder
Builder for code interpreter tool configurations
computer_use
Computer use tool configuration and types
computer_use_builder
Builder for computer use tool configurations
core_types
Core tool types and enumerations
file_search
File search tool configuration and types
file_search_builder
Builder for file search tool configurations
function_builder
Builder for function tool configurations
function_tools
Function tool configuration and types
image_generation
Image generation tool configuration and types
image_generation_builder
Builder for image generation tool configurations
mcp_builder
Builder for MCP (Model Context Protocol) tool configurations
mcp_tools
MCP (Model Context Protocol) tool configuration and types
tool_builder
Main factory for creating tool configurations
tool_choice
Tool choice configuration and types
web_search
Web search tool configuration and types
web_search_builder
Builder for web search tool configurations