操作移动端设备
mobile_interactSend validated touch, text, and key commands to a mobile device via the selected platform adapter, enabling direct interaction with real devices during cross-platform debugging.
Instructions
通过所选平台适配器发送经过校验的点击、滑动、文本输入或按键操作。
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": {
"targetId": "<targetId>",
"action": "<action>"
},
"name": "mobile_interact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| targetId | Yes |