Skip to content

docs: fix toolRunner heading to include .beta segment - #1150

Open
juneja-varun wants to merge 1 commit into
anthropics:mainfrom
juneja-varun:fix/tool-runner-heading-beta-segment
Open

juneja-varun wants to merge 1 commit into
anthropics:mainfrom
juneja-varun:fix/tool-runner-heading-beta-segment

Conversation

@juneja-varun

Copy link
Copy Markdown

toolRunner is only defined on the beta Messages resource (src/resources/beta/messages/messages.ts). The non-beta src/resources/messages/messages.ts exposes create/parse/stream/countTokens, but no toolRunner. Every runnable example already below this heading calls anthropic.beta.messages.toolRunner(...) — only the heading itself was missing the .beta segment, so the path as written doesn't resolve on the client.

One-line fix.

Fixes #1141

@juneja-varun
juneja-varun requested a review from a team as a code owner August 13, 2026 20:52
@juneja-varun

Copy link
Copy Markdown
Author

Checking in here — small docs fix, happy to adjust if you'd like it done differently.

@juneja-varun
juneja-varun force-pushed the fix/tool-runner-heading-beta-segment branch from 8177fb3 to b1e37b9 Compare September 19, 2026 08:07

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

helpers.md: tool runner method heading is missing the .beta segment

1 participant