take_screenshot
Capture a screenshot of the current page or a specific element. Optionally save to a file path.
Instructions
Take a screenshot of the page or element.
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": "take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | The uid of an element on the page from the page content snapshot. If omitted takes a page screenshot. | |
| filePath | No | The absolute path, or a path relative to the current working directory, to save the screenshot to instead of attaching it to the response. |