Skip to content
Back

AnthropicClaude API

We’ve added capabilities.server_tools to the Models API

AI summary

Written by AI from the official notes. Check them for exact details.

The Models API now includes capabilities for web search and code execution tools.

  • New capabilities.server_tools added to Models API
  • Models can now indicate support for web search tools
  • Models can indicate support for code execution tools
  • Check code execution support via capabilities.server_tools.code_execution

Why it matters: Developers using the Models API should review these changes to utilize new tool capabilities effectively.

Full release notes

  • We’ve added capabilities.server_tools to the Models API. GET /v1/models and GET /v1/models/{model_id} now report whether each model accepts the web search and code execution tools. To check whether a model accepts the code execution tool, read capabilities.server_tools.code_execution. The top-level capabilities.code_execution reports whether code can call your request’s other tools. See Using the Models API.