? are optional; your MCP client shows each tool’s full schema. Tools that act on a phone take one phoneId and need a session (session_start).
A refusal is a tool error whose text is {"error": {"code", "message", "allowed"?, "candidates"?}} with the API’s error codes.
Phones and account
| Tool | What it does | Parameters | Kind |
|---|---|---|---|
phones_list | Lists the phones you can use, with id, name, platform (android/ios), model, status (online/offline/in_use…), screen size in pixels, tags and your session on it if any. Start here to pick a phoneId. Cheap; no phone is touched. | tags? | read-only, idempotent |
phone_state | One phone’s state without a screenshot: status, screen size, your session and its network (connecting/ready/failed), and foregroundApp, locked and keyboardShown where the platform reports them (null when it cannot be read, never guessed). Cheap; use it before deciding whether to start a session. | phoneId | read-only, idempotent |
phone_reboot | Reboots an Android phone (iPhones: unsupported). Ends your session on it; the phone is offline for a minute or two. Use only when the phone is stuck. | phoneId | destructive |
account_get | Which organization this credential acts in, and the API key’s id and name (null for a web login). Cheap. | none | read-only, idempotent |
Sessions
| Tool | What it does | Parameters | Kind |
|---|---|---|---|
session_start | Reserves the phone for you; every other phone tool needs a session first. By default waits until the phone’s network is ready (up to waitSeconds), so the phone is online when this returns; answers network ‘failed’ or timedOut otherwise. Starting a session you already hold returns it. The session ends 30 minutes after your last action; every action renews it. End it with session_end when done. | phoneId, wait?, waitSeconds?, purpose?, exclusive? | idempotent |
session_get | Your active session on one phone (null when none), or on every phone when phoneId is left out: id, network (connecting/ready/failed), startedAt, expiresAt. Cheap. | phoneId? | read-only, idempotent |
session_renew | Pushes your session’s end 30 minutes past now. Any action already does this; use it only while you wait without acting. | phoneId | idempotent |
session_end | Releases the phone. Ending a session you do not have succeeds. Always end sessions you started when the task is done. | phoneId | idempotent |
Seeing
| Tool | What it does | Parameters | Kind |
|---|---|---|---|
observe | Looks at the phone’s screen now. Default: a JPEG (longer side 768) plus the text on screen as compact rows [id, text, centreX, centreY, width, height] in screen pixels (tap takes these). view “text” sends only the rows (~250 tokens instead of ~1,500: prefer it unless you need to see images, icons or layout). region crops to part of the screen; detect adds UI elements with labels; since (a screenHash from an earlier answer) answers just {changed:false} when nothing changed. Needs a session. | phoneId, view?, maxSide?, region?, compact?, ocr?, detect?, since? | read-only, idempotent |
wait_for | Waits until a condition holds on the screen: {text} appears, {textGone} disappears, {label} appears, {stable: true} the screen stops changing. Answers {met, waitedMs} (met false at the timeout) and the screen’s text rows. Use it instead of looking repeatedly while something loads. Needs a session. | phoneId, until, timeoutSeconds?, observe? | read-only, idempotent |
Input
| Tool | What it does | Parameters | Kind |
|---|---|---|---|
tap | Taps something on the screen by what it says or is: {text: “Sign in”} (OCR, substring), {label: “button”} (detected element), {element: id, from: screenHash} (an id from an earlier observe), or {x, y} in screen pixels. Resolves on a fresh frame and taps the centre; holdMs holds the finger down there (a long press). A miss is target_not_found with the closest candidates. Answers what was tapped and, by default, the screen’s text rows once it settled (effect.screenChanged; warnings [“no_effect”] when nothing changed). Needs a session. | phoneId, target, holdMs?, observe? | acts |
touch | One free-form finger gesture: a list of points {x, y, time} in screen pixels, time in ms since the finger touched down (the finger lifts at the last point’s time). A long press is one point with a time, e.g. [{x: 540, y: 1200, time: 1000}]; a drag is several. For taps and swipes use tap and swipe. Needs a session. | phoneId, inputs, observe? | acts |
type | Types text into the focused field, as a keyboard would (tap the field first). duration spreads the typing over that many ms. Answers the screen’s text rows once it settled. Needs a session. | phoneId, text, duration?, observe? | acts |
swipe | Swipes the screen. direction is where the finger moves: “up” scrolls a feed to the next item, “down” back, “left”/“right” for pages; distance is the fraction of the screen (default 0.6). With target (as tap takes it: {text}, {label}, {element, from} or {x, y}) the finger starts at the target’s centre, e.g. {target: {text: “Trending”}, direction: “left”} moves that row. Or give from and to, as fractions [0.5, 0.8] or pixels. count repeats it with gapMs between. Answers the screen’s text rows once it settled. Needs a session. | phoneId, target?, direction?, distance?, from?, to?, durationMs?, count?, gapMs?, observe? | acts |
key | Presses a hardware or keyboard key: home, back (Android), enter, backspace, lock, unlock, app_switcher, volume_up/down, arrows and more (the list is the enum). modifiers only with keyboard keys. Answers the screen’s text rows once it settled. Needs a session. | phoneId, key, modifiers?, observe? | acts |
commit | The tap that posts, likes, follows, comments, deletes or sends: the same target as tap, with an idempotencyKey you choose per intended action. The hub records the action before and after the tap; calling again with the same key answers the stored receipt and never taps twice; a key whose earlier answer was lost is refused with commit_uncertain (look at the screen to see whether it happened). Use it instead of tap for anything you must not do twice. | phoneId, kind, target, idempotencyKey, observe? | destructive, idempotent |
Apps
| Tool | What it does | Parameters | Kind |
|---|---|---|---|
apps_list | The apps installed on the phone: id (package name or bundle id) and name where the platform gives one. Needs a session. | phoneId | read-only, idempotent |
app_open | Opens (launches or brings to the front) an installed app by id. Answers the screen’s text rows once it settled. Needs a session. | phoneId, appId, observe? | acts |
app_close | Force-stops an app by id (it opens fresh next time). Answers the screen’s text rows once it settled. Needs a session. | phoneId, appId, observe? | idempotent |
app_install | Installs an app on an Android phone from an APK: a media library item (mediaId) or a link (url). Takes up to two minutes. Needs a session. | phoneId, mediaId?, url? | idempotent |
app_uninstall | Removes an app and its data from the phone. Apps Phones Inc needs are refused (protected_app). Needs a session. | phoneId, appId | destructive, idempotent |
Clipboard and files
| Tool | What it does | Parameters | Kind |
|---|---|---|---|
clipboard_get | The text on the phone’s clipboard. Needs a session. | phoneId | read-only, idempotent |
clipboard_set | Puts text on the phone’s clipboard (up to 4,096 characters), e.g. to paste a long text. Needs a session. | phoneId, text | idempotent |
files_list | Lists a folder of the phone’s shared storage (the root when path is left out): name, type and size of each entry. Needs a session. | phoneId, path? | read-only, idempotent |
file_push | Copies a media library item (mediaId) or a link (url) to a path on an Android phone’s storage (iPhone storage is read-only). Overwrites. Needs a session. | phoneId, path, mediaId?, url? | idempotent |
file_export | Copies a file from the phone and answers a download link valid for a few minutes. Needs a session. | phoneId, path | read-only, idempotent |
file_delete | Deletes a file or folder from an Android phone’s storage. Needs a session. | phoneId, path | destructive, idempotent |
Media
| Tool | What it does | Parameters | Kind |
|---|---|---|---|
media_list | Your organization’s media library (videos, images, APKs and other files you uploaded): id, name, type, size. Use the ids with media_import, file_push or app_install. | ids? | read-only, idempotent |
media_upload | Adds a file to the media library from a link (url, downloaded by the hub) or from base64 data (small files only). Answers the new item with its id. | url?, data?, name? | acts |
media_import | Puts a photo or video (JPEG, PNG, MP4, MOV) into the phone’s gallery / camera roll, from the media library (mediaId) or a link (url). Answers the import’s status; follow it with media_import_status when it is still importing. Needs a session. | phoneId, mediaId?, url? | acts |
media_import_status | The status of an import to the phone (importing, imported or failed), by its importId or the newest import of a mediaId. | phoneId, mediaId?, importId? | read-only, idempotent |
media_delete | Deletes items from the media library for good. | ids | destructive, idempotent |
Workflows
| Tool | What it does | Parameters | Kind |
|---|---|---|---|
workflows_list | Your organization’s workflows (saved automations as node graphs): id, name, description, updatedAt. | none | read-only, idempotent |
workflow_node_types | Every node type a workflow can use, with its guide (how and when to use it), default config and input/output ports. Read before workflow_save. Also the resource phonesinc://schema. | none | read-only, idempotent |
workflow_get | One workflow with its nodes and the issues that would stop it from running. | id | read-only, idempotent |
workflow_save | Creates a workflow (no id; name required) or updates one (id; only the fields given change). nodes is the whole graph: a list of nodes {id, type, config, inputs…} as workflow_get shows them; types from workflow_node_types. Answers the saved workflow with its issues (an empty list means it can run). | id?, name?, description?, nodes? | acts |
workflow_delete | Deletes a workflow for good (its past runs stay readable). Cannot be undone. | id | destructive, idempotent |
workflow_run | Starts a run of a workflow that has no issues. inputs are keyed <inputNodeId>.<port> (or just <port>). Answers the run; follow it with workflow_run_get. The run drives real phones. | id, inputs? | acts |
workflow_runs | Recent workflow runs, newest first, of one workflow or all: id, status, startedAt, endedAt. | workflowId?, limit? | read-only, idempotent |
workflow_run_get | One run with each node’s status, outputs and error. | runId | read-only, idempotent |
workflow_run_stop | Stops a running workflow run after its current node. | runId | idempotent |
Screens
| Tool | What it does | Parameters | Kind |
|---|---|---|---|
screens_list | Your saved screen definitions (how a workflow recognises a screen of an app: text and label conditions), optionally of one app or platform. | app?, platform? | read-only, idempotent |
screen_get | One saved screen definition: its app, platform and match conditions. | id | read-only, idempotent |
screen_save | Creates a screen definition (no id; name, app, platform and match required) or updates one (id; only the fields given change). match: {all: [conditions that must hold], none: [conditions that must not]}; a condition is {kind: “text”, text, region?, exact?}, {kind: “label”, label, region?} or {kind: “color”, color: “#rrggbb”, label?, region?, tolerance?, share?} (holds when at least share, default 0.1, of the pixels in the label’s box or the region are within tolerance, default 40, of the colour: e.g. a liked heart). vision conditions are refused. | id?, name?, app?, platform?, match?, sampleUrl? | acts |
screen_delete | Deletes a screen definition for good; workflows that wait for it stop matching it. | id | destructive, idempotent |
2FA codes
| Tool | What it does | Parameters | Kind |
|---|---|---|---|
authenticator_list | Your organization’s authenticator (TOTP) entries: id, app (tiktok/instagram), label and the phone it belongs to. Codes come from authenticator_code. | phoneId? | read-only, idempotent |
authenticator_add | Saves an authenticator secret (the base32 key or the otpauth:// link an app shows when you set up 2FA) so codes can be generated. Answers the entry (the secret is kept for recovery and never shown again). | app, label, secret, phoneId? | acts |
authenticator_scan | Reads the 2FA QR code the phone’s screen shows now (an app’s ‘turn on 2FA’ screen) and saves it as an entry for that phone. Answers the entry with its current code, to type into the app; the setup key is never shown. Needs a session. | phoneId, app, label | acts |
authenticator_code | The current 6-digit code of an entry and when it expires. Type it promptly. | id | read-only, idempotent |
authenticator_update | Changes an entry’s label, app or phone (phoneId null: no phone), or stores the backup codes the app showed when 2FA was turned on (backupCodes null: clears them). Backup codes are kept for recovery and never shown again; the entry answers how many are stored. | id, label?, app?, phoneId?, backupCodes? | idempotent |
authenticator_delete | Deletes an authenticator entry and its secret for good. | id | destructive, idempotent |
Verification rentals
| Tool | What it does | Parameters | Kind |
|---|---|---|---|
verification_services | Services (apps and sites) you can rent a phone number or email for, to receive a sign-up verification code, and whether each is available now. | search? | read-only, idempotent |
verification_rent | Rents a phone number or email address for one service, to receive its verification code. Costs money (charged to your organization). Follow it with verification_rental until the code arrives; cancel what you do not use. | type, service | acts |
verification_rental | One rental: the number or address, its status and the code once it arrived. Poll it every few seconds while waiting for a code. | id | read-only, idempotent |
verification_rentals | Your organization’s recent rentals, with their numbers or addresses, status and codes. | none | read-only, idempotent |
verification_cancel | Cancels a rental that has not received a code (refunded where the provider allows). | id | destructive, idempotent |
Email inbox
| Tool | What it does | Parameters | Kind |
|---|---|---|---|
mailbox_address | Your organization’s own email inbox: the long-term email address assigned to it. Give it anywhere you sign up; everything sent to it can be read with mailbox_messages. | none | read-only, idempotent |
mailbox_messages | The messages in your organization’s own email inbox, newest first: id, sender, recipients, subject, date and a short preview. Read one in full with mailbox_message. Poll it every few seconds while waiting for an email. | search?, since?, limit? | read-only, idempotent |
mailbox_message | One message of your organization’s inbox in full: from, to, cc, subject, date, the text body, the HTML body as readable text with its links, and the attachments’ names and sizes. | id | read-only, idempotent |
Virtual phones
| Tool | What it does | Parameters | Kind |
|---|---|---|---|
virtual_phones_list | Your organization’s virtual iPhones (machines) and their state (creating, starting, running, stopping, stopped, error), and how many may run at once. | none | read-only, idempotent |
virtual_phone_create | Creates a virtual iPhone (takes minutes; follow it with virtual_phones_list). idempotencyKey makes a retry return the same phone instead of a second one. | name, idempotencyKey | idempotent |
virtual_phone_start | Boots a stopped virtual iPhone; it is usable once virtual_phones_list shows it running. | phoneId | idempotent |
virtual_phone_stop | Shuts a virtual iPhone down (ends any session on it). | phoneId | idempotent |
Not tools
These API endpoints have no tool, on purpose:| Endpoint | Why |
|---|---|
/v1/appium | A WebDriver pass-through for Appium clients; an agent drives the phone with this MCP’s own tools. |
/v1/stream | Grants a live WebRTC video room; an MCP client cannot play video. Use observe for what is on the screen. |
/v1/session/view/close | Closes a browser preview attached to a session; MCP sessions have no browser view. |
/v1/session/view/socket | The browser preview’s WebSocket; MCP sessions have no browser view. |
/v1/virtual-phones/hosts | Lists the hosts virtual phones run on; only an admin login may call it, never an API key. |