cloudflare / cloudflare/playwright-mcp
TypeScript inference for tools?
Open
- Dominant language
- TypeScript
- Stars
- 258
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
What's the best way to properly infer the types for the `this.getAITools()` so I can pass them to the client?
> https://ai-sdk.dev/docs/reference/ai-sdk-core/ui-message#tooluipart
and
> https://ai-sdk.dev/docs/ai-sdk-ui/chatbot#inferuitools
I think it may be possible to add just a bit to https://github.com/cloudflare/playwright-mcp/blob/main/src/tools.ts, now that I think of it...
Contributor guide
Assessment
This issue has not been assessed yet.