Skip to content

Document page capabilities in Playwright and REPL responses - #752

Draft
bmsaadat wants to merge 4 commits into
mainfrom
bmsaadat/webmcp-page-capabilities
Draft

bmsaadat wants to merge 4 commits into
mainfrom
bmsaadat/webmcp-page-capabilities

Conversation

@bmsaadat

@bmsaadat bmsaadat commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

What

Documents the beta page capabilities fields in Playwright and REPL responses: tab.url, page_capabilities and guidance.

  • New "Page capabilities (beta)" section in browsers/webmcp.mdx.
  • Links from the Playwright, REPL and MCP tool reference pages.
  • A changelog entry.

Why

KERNEL-2524 (kernel/kernel#5222). The note only helps if the model sees it, so the section tells customers to pass it along.

Merge order

Don't merge yet; this stays a draft. Merge once webmcp_steering is enabled for everyone and the MCP coverage bot's PR for the SDK with these fields has shipped, since this says the MCP tools show the note. Orgs in observe don't get these fields, and the copy assumes everyone has them. At merge:

  • set the changelog date and add the SDK version that carries these fields;
  • add a Link checkout caveat if kernel/kernel#5222 settles on one;
  • update the CLI sentence if the CLI shows the note by default by then.

Testing

mintlify broken-links passes. Field names, the note's text and the 20-name cap were checked against kernel/kernel#5222.

🤖 Generated with Claude Code

bmsaadat and others added 4 commits November 6, 2026 12:26
Beta fields telling an agent what the current page offers: tab.url,
page_capabilities and a short guidance note. To merge when the beta goes beyond
internal organizations; set the changelog date then.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
tab.url and the capabilities describe the tab after the call, the MCP link
pointed at a tool that never carries guidance, and the Python example was missing
its json import.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The page capabilities section says these tools show the note, so their reference
pages need to say so too.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Availability now reads for when this merges, with the fields on for everyone.
Covers when guidance is absent, that tools can show up a call later, that Kernel
calls get_ucp_profile itself and that payment handlers are untrusted. The example
now handles failed calls, and the MCP pages no longer imply page_capabilities is
once per page.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@mintlify

mintlify Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
Kernel 🟢 Ready View Preview Nov 6, 2026, 5:58 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

This branch was successfully deployed

1 active deployment
staging — 342080ab Deployed Nov 6, 2026 by mintlify[bot]
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