get_current_tab_screenshot_as_file
Capture the current browser tab as a screenshot, save it to a specified path, and return the saved file's location.
Instructions
获取当前标签页的屏幕截图并保存为文件
Args: path (str): 截图保存路径,默认为当前目录
Returns: str: 截图的文件路径
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": "get_current_tab_screenshot_as_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | screenshot.png | |
| path | No | . |