Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I couldn't get Copilot agent mode to work with Playwright MCP. It was installed, it appeared in the tools selection config, but copilot insists it doesn't have access to any of its functions.


What happens if you type:

#browser_navigate https://news.ycombinator.com/

I had to do some installing and setup to get playwright to work. Now, how to get the agent to use the working playwright on its own is a different matter.


I was able to have it work with Playwright but many times it doesn't figure out that it needs to use the playwright MCP tool and instead tries to use curl or something else


Which model? I had Claude Sonnet agent running Playwright just yesterday.


Why would model affect the ability to use tools? I just tried sonnet 4, 3.7 and gpt 4.1 without luck. Playwright opens fine from other tools where i configured it.


Someone more knowledgeable on how these LLMs are trained and fine-tuned can weigh in, but it absolutely does matter. Some models are much more "willing" to use tools (and more adept at discerning when to use them) than others.

I can't comment on why you're having this issue specifically, unfortunately.


yeah, this was not about eagerness to use a tool. It specifically listed available tools and functions and insisted it can not access this playwright related ones.


As I readily admit in my parent comment, I'm not an expert on the tool-calling mechanics. But from other threads, my understanding is it can be a manifestation of the same issue. I know that's not really helpful to you, just wanted to call out that switching models can alter this behavior.

Hopefully you got it worked out by now?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: