obsidian_screenshot
Capture screenshots of Obsidian windows or specific UI elements using Chrome DevTools Protocol.
Instructions
Take a screenshot of Obsidian. Uses Chrome DevTools Protocol for full-window or element-targeted captures.
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": "obsidian_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Output file path (default: auto-generated in temp dir) | |
| format | No | Image format (default: png) | |
| quality | No | Compression quality for jpeg/webp (1-100) | |
| selector | No | CSS selector to screenshot a specific element instead of the full window |