Start session
start_sessionBegin a browser session and receive a sessionId to pass to subsequent accessibility audit tools. Sessions are isolated and auto-close after 5 minutes of inactivity.
Instructions
Starts a browser session and returns its sessionId — pass that sessionId to every subsequent tool call (navigate, click, type, run_a11y_audit, ...). Each session is an isolated page with its own cookies, audit history, and action log. Sessions auto-close after 5 minutes of inactivity (MYA11Y_MCP_IDLE_CLOSE_MS overrides).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "start_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | Free-form session alias (max 225 chars). Becomes the sessionId after sanitizing to [A-Za-z0-9_-]; omit for a generated hex id. Starting an id that already exists returns it. | |
| headless | No | Run the browser headless (default true) or headed (false, visible window). |