Validate Action
validate_actionPre-check a planned mobile action against safety policy and target existence before executing, returning allowed=false with a category for blocked apps or text.
Instructions
Pre-check a planned action against the safety policy (and, for our action set, that its target exists) without doing it. gesture_type is the action (tap, type_text, launch_app, open_deeplink, ...); target is the app name/package, deep-link URI or text you plan to use. Returns allowed=false with a category for blocked apps and text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| uri | No | ||
| text | No | ||
| action | No | ||
| device | No | ||
| som_id | No | ||
| target | No | ||
| package | No | ||
| app_name | No | ||
| gesture_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||