Agent roles and architecture: @AGENTS.md
ALWAYS use Playwright MCP tools for any browser interaction. NEVER use the built-in browser (ABP).
Available tools:
mcp__playwright__browser_navigate— go to a URLmcp__playwright__browser_snapshot— get page content (accessibility tree, NOT raw HTML)mcp__playwright__browser_click— click elements by ref number from snapshotmcp__playwright__browser_fill_form— fill input fieldsmcp__playwright__browser_take_screenshot— capture screenshotsmcp__playwright__browser_evaluate— run JavaScript on the pagemcp__playwright__browser_wait_for— wait for elements/network idlemcp__playwright__browser_press_key— keyboard inputmcp__playwright__browser_tabs— manage browser tabsmcp__playwright__browser_close— close browser
browser_navigateto the URLbrowser_snapshotto read the page (returns accessibility tree with ref numbers)- Use ref numbers from snapshot to
browser_clickorbrowser_fill_form browser_snapshotagain to see the result
- Use
WebFetchfor pages that need JavaScript rendering - Use the built-in ABP browser
- Try to parse raw HTML — use
browser_snapshotwhich gives structured content