capture_page_screenshot
Take screenshots of browser pages for documentation, debugging, or visual verification during automation tasks.
Instructions
Capture a screenshot of the current page/tab via CDP and optionally save it to a file path.
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": "capture_page_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | ||
| tab_id | No | ||
| format | No | png | |
| save_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||