Title: Programmatic tool calling - Claude Platform Docs
Open Graph Title: Programmatic tool calling
X Title: Programmatic tool calling
Description: Let Claude call your tools from code in the code execution container, cutting model round trips and token use in multi-tool workflows.
Open Graph Description: Let Claude call your tools from code in the code execution container, cutting model round trips and token use in multi-tool workflows.
X Description: Let Claude call your tools from code in the code execution container, cutting model round trips and token use in multi-tool workflows.
Opengraph URL: https://platform.claude.com/docs/en/agents-and-tools/tool-use/programmatic-tool-calling
Domain: platform.claude.com
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Messages","item":"https://platform.claude.com/docs/en/intro"},{"@type":"ListItem","position":2,"name":"Programmatic tool calling","item":"https://platform.claude.com/docs/en/agents-and-tools/tool-use/programmatic-tool-calling"}]}
| mobile-web-app-capable | yes |
| apple-mobile-web-app-status-bar-style | default |
| og:site_name | Claude Platform Docs |
| og:locale | en |
| og:image | https://platform.claude.com/web-api/og/docs/en/agents-and-tools/tool-use/programmatic-tool-calling?design-rev=4 |
| og:image:type | image/png |
| og:image:width | 1200 |
| og:image:height | 630 |
| og:image:alt | Programmatic tool calling |
| og:type | article |
| twitter:card | summary_large_image |
| twitter:image | https://platform.claude.com/web-api/og/docs/en/agents-and-tools/tool-use/programmatic-tool-calling?design-rev=4 |
| sentry-trace | 634e9e3edacd4630b38aae8f710e6a74-91efcaba4e76823e |
| baggage | sentry-environment=production,sentry-release=f95b239c9361a94e0457064d08762005a3f30943,sentry-public_key=a664f52366f0c71b6b6e5ce10065a7f6,sentry-trace_id=634e9e3edacd4630b38aae8f710e6a74,sentry-org_id=1158394 |
Links:
Viewport: width=device-width, initial-scale=1, viewport-fit=cover