Skip to content

Fix conflicts in PR #3421: Add WebMcpTool.ExecuteAsync() - #3422

Closed
kblok wants to merge 3 commits into
masterfrom
fix-issue-3421
Closed

kblok wants to merge 3 commits into
masterfrom
fix-issue-3421

Conversation

@kblok

@kblok kblok commented Apr 22, 2026

Copy link
Copy Markdown
Member

Summary

Resolves merge conflicts from PR #3421 caused by PR #3416 (WebMCP API infrastructure) being merged first.

  • WebMcpTool.cs: Added using System/Threading.Tasks and ExecuteAsync() method
  • CdpWebMcp.cs: Added WebMcp = this in tool initialization
  • PageWebMcpTests.cs: Added using System and ShouldInvokeTool test

Implements puppeteer/puppeteer#14851

🤖 Generated with Claude Code

kblok and others added 3 commits April 20, 2026 16:43
Implements upstream PR #14851 which adds direct tool execution support
to WebMcpTool. Includes the full WebMCP API infrastructure (from #14814)
plus the execute capability.

WebMcpTool.ExecuteAsync(input) invokes the tool via CDP and returns a
Task<WebMcpToolCallResult> that completes when the toolresponded event
fires with a matching invocation ID.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… init

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kblok

kblok commented Apr 22, 2026

Copy link
Copy Markdown
Member Author

Closing in favor of fixing conflicts directly on the original PR #3421 branch.

@kblok kblok closed this Apr 22, 2026
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