install
source · Clone the upstream repo
git clone https://github.com/googleworkspace/cli
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/googleworkspace/cli "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/gws-modelarmor" ~/.claude/skills/googleworkspace-cli-gws-modelarmor && rm -rf "$T"
manifest:
skills/gws-modelarmor/SKILL.mdtags
source content
modelarmor (v1)
PREREQUISITE: Read
for auth, global flags, and security rules. If missing, run../gws-shared/SKILL.mdto create it.gws generate-skills
gws modelarmor <resource> <method> [flags]
Helper Commands
| Command | Description |
|---|---|
| Sanitize a user prompt through a Model Armor template |
| Sanitize a model response through a Model Armor template |
| Create a new Model Armor template |
Discovering Commands
Before calling any API method, inspect it:
# Browse resources and methods gws modelarmor --help # Inspect a method's required params, types, and defaults gws schema modelarmor.<resource>.<method>
Use
gws schema output to build your --params and --json flags.