shake
Simulate device shaking for mobile testing on Android or iOS platforms, controlling duration and intensity parameters for automation scenarios.
Instructions
Shake the device
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": {
"platform": "<platform>"
},
"name": "shake"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Duration of the shake in milliseconds (default: 1000) | |
| intensity | No | Intensity of the shake acceleration (default: 100) | |
| platform | Yes | Platform of the device |