Skip to content

feat(ruby): M5 — webmcp example, canonical example set complete - #2857

Draft
filip-michalsky wants to merge 1 commit into
filipmichalsky/ruby-sdk-betafrom
filipmichalsky/ruby-sdk-m5
Draft

feat(ruby): M5 — webmcp example, canonical example set complete#2857
filip-michalsky wants to merge 1 commit into
filipmichalsky/ruby-sdk-betafrom
filipmichalsky/ruby-sdk-m5

Conversation

@filip-michalsky

Copy link
Copy Markdown
Collaborator

Part of the AP-2857 parity stack:

Stack: #2820 (spike) ← #2854 (M1–M2) ← #2855 (M3) ← #2851 (M4) ← this PR (M5)

Port of packages/sdk-python/examples/webmcp.py — the last canonical example. page.tools discovers the tools the WebMCP test site registers via navigator.modelContext, invokes calculateSum, and prints the invocation result. This completes the Ruby port of the canonical example set from packages/sdk-{ts,python,go}/examples.

Verification

Live on Browserbase: 4 tools discovered (calculateSum, failWithMessage, searchFlights, submitSupportRequest), invocation returned {a: 19, b: 23, sum: 42} with status Completed. (Local verification was network-blocked on the dev machine — github.io TLS reset, the Python example fails identically there; the SDK code path is the same either way. The WebMCPTesting,DevToolsWebMCPSupport Chrome flag was already in the Ruby launcher's flag set.)

🤖 Generated with Claude Code

Port of packages/sdk-python/examples/webmcp.py: page.tools discovers the
tools the test site registers via navigator.modelContext, invokes
calculateSum, and prints the invocation result. Verified live on Browserbase
(4 tools discovered, sum 42, status Completed); local verification is
network-blocked on this machine (github.io TLS reset — Python example fails
identically), the SDK path is the same either way.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Aug 30, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 1225db4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

1 participant