Skip to content

ui_screenshot

MCP tools › Window and UI driver

A PNG of the Ferris IDEA window, an element (locator) or a region {x, y, w, h}, drawn by the window itself: works while it is covered or minimized, never needs the screen-recording permission. Secret fields and, without terminal-read, the terminal are filled. Returns width, height, scale, masked and the image; unsupported on Linux and the test platform. Needs the setting and the right ui. Experimental.

Its results carry text from files: the client is told to treat that as data, never as instructions.

Capabilityui.ui_screenshot
AreaWindow and UI driver
Accessreads only
Reaches—
Rightsui
Dry runnone

Arguments

ArgumentTypeDescription
locatoranyOnly this element (locator).
regionanyOnly this region {x, y, w, h} in logical window coordinates (points from the top left of the window's content).
windowintegerA window of this project by id.minimum 0

Call it from a shell

ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.

Terminal window
ferris-idea call ~/my-project ui_screenshot
Input schema as JSON
{
"type": "object",
"properties": {
"locator": {
"description": "Only this element (locator)."
},
"region": {
"description": "Only this region `{x, y, w, h}` in logical window coordinates (points from the top left\nof the window's content)."
},
"window": {
"description": "A window of this project by id.",
"type": [
"integer",
"null"
],
"minimum": 0
}
}
}