MCP tools
type_text
Type any text into the focused field or a target (with no target, a field must have focus); never use it for passwords (use fill_credential).
| REST operation | act (POST /v1/devices/{deviceId}/actions) |
| Action type | typeText |
| Needs a device | yes |
| Read only | no |
| Profiles | core, testing, full |
Parameters
Section titled “Parameters”| Name | Required | Type | Goes to | What it is |
|---|---|---|---|---|
device_id |
yes | string | path deviceId |
Stable device id such as ios:00008120-001A2B3C4D5E6F70 or android:R58M123ABC. |
lease |
no | string | header Silan-Lease |
Lease token when the device is claimed. |
text |
yes | string | body action.text |
Any Unicode; the engine picks the delivery method per driver. |
target |
no | object | body action.target |
Exactly one of a point, an element ref from the latest observation, or a query. |
clear_first |
no | boolean | body action.clearFirst |
|
submit |
no | boolean | body action.submit |
|
return |
no | object | body returning |
Example call
Section titled “Example call”type_text({ device_id: "ios:00008120-001A2B3C4D5E6F70", text: … })