Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

What tool call functions does GPT-OSS support?

2025-08-14 156

GPT-OSS integrates a variety of tool-calling functions, mainly including:

  • Web Search: To search, open or find web content through the browser tool, you need to use ExaBackend and set the EXA_API_KEY environment variable.
  • Python Code Execution: It is possible to run compute tasks that use Docker containers to execute code, but you need to be aware of the risk of prompt injection
  • file operation: The apply_patch utility allows you to create, update, or delete files.

To enable these tools, you need to configure the appropriate tool configuration in the system messages. For example, enable the Python tool:system_message_content = SystemContent.new().with_tools(python_tool.tool_config). These tool-calling features greatly enhance the interactive capabilities and usefulness of the model.

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish