---
title: tools
description: Reference for OpenAI provider-executed tools.
type: reference
summary: Reference for OpenAI provider tool helpers.
---

# tools



OpenAI tool helpers create provider-executed `ai.Tool` declarations.

## Tools

* `web_search`
* `web_search_preview`
* `file_search`
* `code_interpreter`
* `image_generation`
* `local_shell`
* `shell`
* `apply_patch`
* `mcp`
* `tool_search`

## Option models

* `WebSearchUserLocation`
* `WebSearchFilters`
* `FileSearchRanking`
* `CodeInterpreterContainer`


---

For a semantic overview of all documentation, see [/sitemap.md](/sitemap.md)

For an index of all available documentation, see [/llms.txt](/llms.txt)