screen
Capture a screenshot of an application window by specifying its process name or process ID.
Instructions
Capture a screenshot of an application window by PID or process name (e.g. wezterm)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Capture action (only capture for now) | |
| target | No | Process name (e.g. wezterm, notepad) | |
| pid | No | Process ID to capture |