screenshot_page
Capture a screenshot of the current page or navigate to a URL first, saving it to the sandbox and returning the image when under 200 KB or its file path otherwise.
Instructions
Screenshot the current page (or navigate to url first), saved under the sandbox dir. Up to
200 KB it is also returned as an image; a bigger one only as its file path (inline: false).
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": "screenshot_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| path | No |