perform_secondary_action
Invoke a secondary AT-SPI action exposed by a UI element using app, element index, and action name; supports confirmation token for high-risk actions.
Instructions
Invoke a secondary AT-SPI action exposed by an element.
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 | App name, Hyprland class/title, pid, or address:0x... selector. | |
| action | Yes | Secondary action name. | |
| element_index | Yes | Element index from the last get_app_state result. | |
| confirmation_token | No | Externally approved, one-time challenge ID from request_confirmation for a high-risk action. |