create_skill
Turn recorded JSON steps into reusable mobile automation skills for replaying workflows on Android or iOS.
Instructions
Create a new reusable skill from a JSON list of recorded steps.
steps is a JSON array like: [ {"action": "launch", "package": "com.example.app", "description": "Open app"}, {"action": "tap", "x": 540, "y": 1200, "description": "Tap button"}, {"action": "type", "text": "hello", "description": "Type greeting"}, {"action": "wait", "seconds": 2, "description": "Wait for load"} ]
Supported actions: launch, tap (x,y or element_idx), type, swipe, back, home, wait. For iOS skills, pass platforms="ios" and either app_package or ios_bundle_id as the bundle id. Optional elements_ios/elements_android are JSON selector maps written to elements_ios.yaml/elements.yaml. After creating, use run_workflow(dev, name, "recorded", params) to replay it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| steps | Yes | ||
| platforms | No | ||
| app_package | Yes | ||
| elements_ios | No | ||
| ios_bundle_id | No | ||
| elements_android | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |