desktop_find
Finds macOS app elements by role, name, text, or value and returns references for targeted actions, including closed menu bar surfaces.
Instructions
Find elements by role / name / text in an app (also closed menus with surface=menubar); returns refs.
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": "desktop_find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | ||
| nth | No | ||
| last | No | ||
| name | No | ||
| role | No | ||
| root | No | ||
| text | No | ||
| count | No | ||
| exact | No | ||
| first | No | ||
| limit | No | ||
| value | No | ||
| states | No | ||
| surface | No | window | |
| native_id | No | ||
| window_id | No | ||
| timeout_ms | No | ||
| description | No |