Act on Accessibility Element
idb-semantic-actionPress a uniquely identified control or replace and verify a field value, using exact or substring matching and ambiguity checks to prevent unintended simulator changes.
Instructions
idb-semantic-action
Press a uniquely identified control or replace and verify a field value.
query matches AXUniqueId or AXLabel exactly, case-insensitively; exact:false enables substring search. Ambiguous targets fail before mutation. operation is press or set-value; the latter requires value. expect optionally guards the current AXValue. udid is optional. Marker uniqueness includes untyped nodes. Failed accessibility presses fall back to coordinates. Field updates are read back up to three times; secure fields explicitly report unverified success.
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": {
"operation": "<operation>",
"query": "<query>"
},
"name": "idb-semantic-action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | ||
| exact | No | ||
| query | Yes | ||
| value | No | ||
| expect | No | ||
| operation | Yes |