screen
Runs one ai-screen (screenctl) command in a chosen desktop window to read text, click by label, and type into apps, letting AI agents operate desktop software.
Instructions
Run one ai-screen (screenctl) command in the user's chosen window. Examples: "select window firefox", "see", "page --grep price", "find 'Sign in'", "click --text 'Sign in' --role button", "type --into Email user@mail.com", "goto example.com", "mark --text 'Total'", "shot", "done". Read the screen_guide tool first. Exit codes: 0 ok, 2 error, 3 denied/stopped by the user (stop and ask), 4 a find/wait/expect condition is not met (re-plan).
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": {
"command": "<command>"
},
"name": "screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stdin | No | text for `type -` (long text, quotes, newlines) | |
| command | Yes | screenctl arguments, shell-quoted |