Secondary action
perform_secondary_actionRun a named secondary UI action—such as Raise, Expand, Collapse, Press, or Select—on an app element by index, mapped to the UI Automation patterns that element supports.
Instructions
Run a named secondary action on an element (Raise / Expand / Collapse / Press / Select). Maps onto the UIA patterns the element actually supports.
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": {
"app": "<app>",
"element_index": "<element_index>",
"action": "<action>"
},
"name": "perform_secondary_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| action | Yes | ||
| element_index | Yes | Element index from the last get_app_state, as a string |