get_alert_text
Retrieve the text of the current alert dialog on an iOS simulator to verify messages or prompts during automated testing.
Instructions
Get the text of the current alert dialog.
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": {
"device_id": "<device_id>"
},
"name": "get_alert_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Simulator UDID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |