Tool capabilities allow you to control which automation features are enabled in the Playwright MCP server. By specifying capabilities, you can enable or restrict access to different tool groups.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/microsoft/playwright-mcp/llms.txt
Use this file to discover all available pages before exploring further.
ToolCapability Type
TheToolCapability type defines all available capability values:
Configuration
Specify capabilities in your configuration:Capability Groups
config
Configuration and management tools. Included Tools:- Server configuration management
core
Core browser automation features. This is the primary capability group for standard browser interactions. Included Tools:browser_click- Click on elementsbrowser_close- Close the browserbrowser_console_messages- Get console messagesbrowser_drag- Drag and dropbrowser_evaluate- Execute JavaScriptbrowser_file_upload- Upload filesbrowser_fill_form- Fill form fieldsbrowser_handle_dialog- Handle dialogsbrowser_hover- Hover over elementsbrowser_press_key- Press keyboard keysbrowser_resize- Resize browser windowbrowser_run_code- Run Playwright code snippetsbrowser_select_option- Select dropdown optionsbrowser_snapshot- Capture accessibility snapshotsbrowser_take_screenshot- Take screenshotsbrowser_type- Type text into elementsbrowser_wait_for- Wait for conditions
core-navigation
Navigation-specific tools. Included Tools:browser_navigate- Navigate to URLsbrowser_navigate_back- Go back in history
core-tabs
Tab management functionality. Included Tools:browser_tabs- List, create, close, or select tabs
core-input
Input and interaction tools. Included Tools:- Text input tools
- Form interaction tools
- Click and interaction handlers
core-install
Browser installation tools. Included Tools:browser_install- Install the browser specified in config
network
Network request inspection and monitoring. Included Tools:browser_network_requests- List all network requests
browser_pdf_save- Save page as PDF
'pdf' in your capabilities array to enable.
storage
Browser storage management (cookies, localStorage, sessionStorage). Included Tools:- Storage state management
- Cookie manipulation
testing
Test assertions and verification tools. Included Tools:browser_generate_locator- Generate test locatorsbrowser_verify_element_visible- Verify element visibilitybrowser_verify_list_visible- Verify list itemsbrowser_verify_text_visible- Verify text presencebrowser_verify_value- Verify element values
'testing' in your capabilities array to enable.
vision
Coordinate-based interactions using pixel coordinates. Included Tools:browser_mouse_click_xy- Click at coordinatesbrowser_mouse_down- Press mouse button downbrowser_mouse_drag_xy- Drag between coordinatesbrowser_mouse_move_xy- Move mouse to coordinatesbrowser_mouse_up- Release mouse buttonbrowser_mouse_wheel- Scroll mouse wheel
'vision' in your capabilities array to enable.
Warning: Coordinate-based interactions are less reliable than accessibility-based interactions and may break with viewport changes.
devtools
Developer tools features and advanced debugging capabilities. Included Tools:- DevTools protocol access
- Performance profiling
- Coverage analysis
'devtools' in your capabilities array to enable.
Default Capabilities
If no capabilities are specified, the following are enabled by default:corecore-navigationcore-tabscore-inputcore-installnetworkstorageconfig
pdf, vision, devtools, testing) must be explicitly enabled.
Configuration Examples
Minimal Core Automation
Web Scraping with Network Monitoring
Testing and Verification
Full-Featured with All Capabilities
Vision-Based Automation
CLI Usage
Enable specific capabilities via command line:Related
- Configuration Schema - Full configuration options
- createConnection - Main API function
- Tools Reference - Detailed tool documentation

