niri_take_screenshot
Capture full-screen or window-specific screenshots on Niri Desktop and get the saved image path.
Instructions
Capture a screenshot on Niri DE. target: 'screen' (entire focused monitor) or 'window' (focused window only). Returns path to saved screenshot image file.
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": "niri_take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | screen |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |