ios_run_task
Sends a plain-language iOS task to a built-in agent for background execution, avoiding step-by-step control.
Instructions
Hand a whole task to the built-in agent (Claude via the Anthropic API) instead of driving step by step.
It runs in the background; poll with ios_task_status. Needs ANTHROPIC_API_KEY (or ant auth login)
in the server's environment.
Args: task: What to do, in plain language, e.g. "Turn on dark mode in Settings". max_steps: Step budget before giving up. wait_seconds: Block up to this long for the result (0 returns immediately). mode: "fast" acts directly; "reliable" plans checkpoints and has each one verified (slower, surer). device: Simulator name or UDID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | fast | |
| task | Yes | ||
| device | No | ||
| max_steps | No | ||
| wait_seconds | No |