Home / Market / gws modelarmor sanitize prompt

gws modelarmor sanitize prompt

gws-modelarmor-sanitize-prompt

claude-command★ 348360 dlgithubMITInstall in CosmosUpstream Source

Documentation & Preview

--- allowed-tools: Bash, Read, Write, Edit argument-hint: [resource] [method] [flags] description: Google Model Armor: Sanitize a user prompt through a Model Armor template.

---

Google Workspace Modelarmor Sanitize Prompt

Execute Google Workspace Modelarmor Sanitize Prompt operations: $ARGUMENTS

Prerequisites

Available Resources and Methods

modelarmor +sanitize-prompt

> PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

Sanitize a user prompt through a Model Armor template

Usage

gws modelarmor +sanitize-prompt --template <NAME>

Flags

| Flag | Required | Default | Description | |------|----------|---------|-------------| | --template | ✓ | — | Full template resource name (projects/PROJECT/locations/LOCATION/templates/TEMPLATE) | | --text | — | — | Text content to sanitize | | --json | — | — | Full JSON request body (overrides --text) |

Examples

gws modelarmor +sanitize-prompt --template projects/P/locations/L/templates/T --text 'user input'
echo 'prompt' | gws modelarmor +sanitize-prompt --template ...

Tips

See Also

Usage

# List available resources and methods
gws modelarmor-sanitize-prompt --help

# Inspect method schema before calling
gws schema modelarmor-sanitize-prompt.<resource>.<method>

# Execute command with arguments
gws modelarmor-sanitize-prompt $ARGUMENTS

Task

Execute the requested Modelarmor Sanitize Prompt operation: $ARGUMENTS

  1. Verify Prerequisites
  1. Inspect Method Schema
  1. Execute Operation
  1. Error Handling

---

License: Apache License 2.0

Source: Google Workspace CLI

Original Skill: gws-modelarmor-sanitize-prompt