Gws Modelarmor Create Template

v1.0.12

Google Model Armor: Create a new Model Armor template.

0· 438· 13 versions· 13 current· 13 all-time· Updated 4w ago· MIT-0

modelarmor +create-template

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

Create a new Model Armor template

Usage

gws modelarmor +create-template --project <PROJECT> --location <LOCATION> --template-id <ID>

Flags

FlagRequiredDefaultDescription
--projectGCP project ID
--locationGCP location (e.g. us-central1)
--template-idTemplate ID to create
--presetUse a preset template: jailbreak
--jsonJSON body for the template configuration (overrides --preset)

Examples

gws modelarmor +create-template --project P --location us-central1 --template-id my-tmpl --preset jailbreak
gws modelarmor +create-template --project P --location us-central1 --template-id my-tmpl --json '{...}'

Tips

  • Defaults to the jailbreak preset if neither --preset nor --json is given.
  • Use the resulting template name with +sanitize-prompt and +sanitize-response.

[!CAUTION] This is a write command — confirm with the user before executing.

See Also

Version tags

latestvk975e1c0z82d097dfvm45szzhh83yk12
Plugin bundle (nix)
Skill pack · CLI binary · Config
SKILL.mdCLIConfig
CLI help (from plugin)
gws modelarmor +create-template --help

Runtime requirements

Binsgws