gws-modelarmor
Installation
Summary
Google Model Armor: Filter user-generated content for safety.
- Provides three core helper commands: sanitize prompts, sanitize responses, and create custom filtering templates
- Integrates with Google Workspace services via the
gwsCLI tool with shared authentication and security rules - Requires schema inspection via
gws schemato discover available resources, methods, and parameter requirements before executing API calls
SKILL.md
modelarmor (v1)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws modelarmor <resource> <method> [flags]
Helper Commands
| Command | Description |
|---|---|
+sanitize-prompt |
Sanitize a user prompt through a Model Armor template |
+sanitize-response |
Sanitize a model response through a Model Armor template |
+create-template |
Create a new Model Armor template |
Discovering Commands
Before calling any API method, inspect it:
Related skills
More from googleworkspace/cli
gws-gmail
Gmail: Send, read, and manage email.
26.2Kgws-docs
Read and write Google Docs.
26.1Kgws-drive
Google Drive: Manage files, folders, and shared drives.
26.0Kgws-sheets
Google Sheets: Read and write spreadsheets.
24.7Kgws-calendar
Google Calendar: Manage calendars and events.
24.6Kgws-docs-write
Google Docs: Append text to a document.
21.8K