take_screenshot
Capture a screenshot of the active editor viewport to get the file path of the saved image for sharing or documentation.
Instructions
Capture a screenshot of the active editor viewport. Returns the file path of the saved image.
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 |
|---|---|---|---|
| filename | No | Output filename (default: screenshot_<timestamp>.png) |