Models API reports which server tools each model accepts
GET /v1/models now returns capabilities.server_tools, reporting whether each model accepts the web search and code execution tools; the separate top-level capabilities.code_execution covers programmatic tool calling.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact No impactNo cost or roadmap impact; this is an informational field in the Models API.
Engineer
What to change, what breaks, what to test Worth knowingTo check whether a model accepts web search or the code execution tool, read capabilities.server_tools.web_search / .code_execution from GET /v1/models. Don't use the top-level capabilities.code_execution for that; it reports programmatic tool calling.
General consumer
Using the Claude apps, not the API No impactNothing to do — this is an API-only change and does not affect the Claude apps.
The Models API (GET /v1/models and GET /v1/models/{model_id}) now includes capabilities.server_tools for each model. server_tools.web_search.supported and server_tools.code_execution.supported are true when the model accepts at least one version of that tool, not necessarily every version, and server_tools.supported is true when it accepts either. Other server tools, such as web fetch, are not covered.
The existing top-level capabilities.code_execution is a different check: it reports whether code Claude runs in the code execution tool can call the request’s other tools (programmatic tool calling). Code that used the top-level field to decide whether a model accepts the code execution tool should read capabilities.server_tools.code_execution instead.
A supported tool can still fail on a request when organization settings, such as an administrator disabling web search, forbid it.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
capabilities.server_tools | added | no |
Topics: Agents and tool use