Capture page context
capture_contextReturns the structured representation of a web page: visible text with coordinates, interactive elements, forms and tables. Use this to let an agent read and understand a page without parsing raw HTML.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "capture_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page to read | |
| width | No | ||
| height | No | ||
| dismissCookies | No | Auto-dismiss cookie/consent banners before reading. Default true. |