browser_snapshot
Capture a Firefox page snapshot and match controls by query and role to help LLMs inspect page elements for browsing actions.
Instructions
Return a page snapshot and optionally match controls by query and role.
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": "browser_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| query | No | ||
| session_id | No | ||
| max_results | No | ||
| max_elements | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |