Loading...
Loading...
Google Model Armor: Sanitize a user prompt through a Model Armor template.
npx skill4agent add googleworkspace/cli gws-modelarmor-sanitize-promptPREREQUISITE: Readfor auth, global flags, and security rules. If missing, run../gws-shared/SKILL.mdto create it.gws generate-skills
gws modelarmor +sanitize-prompt --template <NAME>| Flag | Required | Default | Description |
|---|---|---|---|
| ✓ | — | Full template resource name (projects/PROJECT/locations/LOCATION/templates/TEMPLATE) |
| — | — | Text content to sanitize |
| — | — | Full JSON request body (overrides --text) |
gws modelarmor +sanitize-prompt --template projects/P/locations/L/templates/T --text 'user input'
echo 'prompt' | gws modelarmor +sanitize-prompt --template ...