Perform Action
perform_actionExecute accessibility actions on UI elements, such as clicking or selecting, by specifying an element or coordinate target. Optionally returns updated app state after the action.
Instructions
Run one of the accessibility actions advertised 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": {
"target": "<target>",
"action": "<action>"
},
"name": "perform_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Advertised accessibility action. | |
| target | Yes | ||
| return_state | No | Optionally observe the target again after the action. | none |