run_airtest_code
Execute custom Airtest Python scripts to automate Android, iOS, or Windows device interactions. Run trusted code in a temporary project to perform actions like touch, swipe, and app control.
Instructions
Run trusted, hand-written Airtest Python code in a temporary .air project.
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": {
"code": "<code>"
},
"name": "run_airtest_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| device | No | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||