[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-google-workspace-gws-modelarmor-sanitize-response":3,"mdc--qirdd-key":47,"related-org-google-workspace-gws-modelarmor-sanitize-response":445,"related-repo-google-workspace-gws-modelarmor-sanitize-response":596},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":21,"repoUrl":22,"updatedAt":23,"license":24,"forks":25,"topics":26,"repo":42,"sourceUrl":45,"mdContent":46},"gws-modelarmor-sanitize-response","sanitize model responses with Model Armor","Google Model Armor: Sanitize a model response through a Model Armor template.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"google-workspace","Google Workspace","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fgoogle-workspace.png","googleworkspace",[13,17,20],{"name":14,"slug":15,"type":16},"Security","security","tag",{"name":18,"slug":19,"type":16},"LLM","llm",{"name":9,"slug":8,"type":16},29614,"https:\u002F\u002Fgithub.com\u002Fgoogleworkspace\u002Fcli","2026-07-12T08:26:05.096507",null,1717,[27,28,29,30,31,32,33,34,35,36,37,38,39,8,40,41],"agent-skills","ai-agent","automation","cli","discovery-api","gemini-cli-extension","google-admin","google-api","google-calendar","google-chat","google-docs","google-drive","google-sheets","oauth2","rust",{"repoUrl":22,"stars":21,"forks":25,"topics":43,"description":44},[27,28,29,30,31,32,33,34,35,36,37,38,39,8,40,41],"Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.","https:\u002F\u002Fgithub.com\u002Fgoogleworkspace\u002Fcli\u002Ftree\u002FHEAD\u002Fskills\u002Fgws-modelarmor-sanitize-response","---\nname: gws-modelarmor-sanitize-response\ndescription: \"Google Model Armor: Sanitize a model response through a Model Armor template.\"\nmetadata:\n  version: 0.22.5\n  openclaw:\n    category: \"security\"\n    requires:\n      bins:\n        - gws\n    cliHelp: \"gws modelarmor +sanitize-response --help\"\n---\n\n# modelarmor +sanitize-response\n\n> **PREREQUISITE:** Read `..\u002Fgws-shared\u002FSKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.\n\nSanitize a model response through a Model Armor template\n\n## Usage\n\n```bash\ngws modelarmor +sanitize-response --template \u003CNAME>\n```\n\n## Flags\n\n| Flag | Required | Default | Description |\n|------|----------|---------|-------------|\n| `--template` | ✓ | — | Full template resource name (projects\u002FPROJECT\u002Flocations\u002FLOCATION\u002Ftemplates\u002FTEMPLATE) |\n| `--text` | — | — | Text content to sanitize |\n| `--json` | — | — | Full JSON request body (overrides --text) |\n\n## Examples\n\n```bash\ngws modelarmor +sanitize-response --template projects\u002FP\u002Flocations\u002FL\u002Ftemplates\u002FT --text 'model output'\nmodel_cmd | gws modelarmor +sanitize-response --template ...\n```\n\n## Tips\n\n- Use for outbound safety (model -> user).\n- For inbound safety (user -> model), use +sanitize-prompt.\n\n## See Also\n\n- [gws-shared](..\u002Fgws-shared\u002FSKILL.md) — Global flags and auth\n- [gws-modelarmor](..\u002Fgws-modelarmor\u002FSKILL.md) — All filter user-generated content for safety commands\n",{"data":48,"body":56},{"name":4,"description":6,"metadata":49},{"version":50,"openclaw":51},"0.22.5",{"category":15,"requires":52,"cliHelp":55},{"bins":53},[54],"gws","gws modelarmor +sanitize-response --help",{"type":57,"children":58},"root",[59,68,101,106,113,173,179,294,300,387,393,408,414,439],{"type":60,"tag":61,"props":62,"children":64},"element","h1",{"id":63},"modelarmor-sanitize-response",[65],{"type":66,"value":67},"text","modelarmor +sanitize-response",{"type":60,"tag":69,"props":70,"children":71},"blockquote",{},[72],{"type":60,"tag":73,"props":74,"children":75},"p",{},[76,82,84,91,93,99],{"type":60,"tag":77,"props":78,"children":79},"strong",{},[80],{"type":66,"value":81},"PREREQUISITE:",{"type":66,"value":83}," Read ",{"type":60,"tag":85,"props":86,"children":88},"code",{"className":87},[],[89],{"type":66,"value":90},"..\u002Fgws-shared\u002FSKILL.md",{"type":66,"value":92}," for auth, global flags, and security rules. If missing, run ",{"type":60,"tag":85,"props":94,"children":96},{"className":95},[],[97],{"type":66,"value":98},"gws generate-skills",{"type":66,"value":100}," to create it.",{"type":60,"tag":73,"props":102,"children":103},{},[104],{"type":66,"value":105},"Sanitize a model response through a Model Armor template",{"type":60,"tag":107,"props":108,"children":110},"h2",{"id":109},"usage",[111],{"type":66,"value":112},"Usage",{"type":60,"tag":114,"props":115,"children":120},"pre",{"className":116,"code":117,"language":118,"meta":119,"style":119},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","gws modelarmor +sanitize-response --template \u003CNAME>\n","bash","",[121],{"type":60,"tag":85,"props":122,"children":123},{"__ignoreMap":119},[124],{"type":60,"tag":125,"props":126,"children":129},"span",{"class":127,"line":128},"line",1,[130,135,141,146,151,157,162,168],{"type":60,"tag":125,"props":131,"children":133},{"style":132},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[134],{"type":66,"value":54},{"type":60,"tag":125,"props":136,"children":138},{"style":137},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[139],{"type":66,"value":140}," modelarmor",{"type":60,"tag":125,"props":142,"children":143},{"style":137},[144],{"type":66,"value":145}," +sanitize-response",{"type":60,"tag":125,"props":147,"children":148},{"style":137},[149],{"type":66,"value":150}," --template",{"type":60,"tag":125,"props":152,"children":154},{"style":153},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[155],{"type":66,"value":156}," \u003C",{"type":60,"tag":125,"props":158,"children":159},{"style":137},[160],{"type":66,"value":161},"NAM",{"type":60,"tag":125,"props":163,"children":165},{"style":164},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[166],{"type":66,"value":167},"E",{"type":60,"tag":125,"props":169,"children":170},{"style":153},[171],{"type":66,"value":172},">\n",{"type":60,"tag":107,"props":174,"children":176},{"id":175},"flags",[177],{"type":66,"value":178},"Flags",{"type":60,"tag":180,"props":181,"children":182},"table",{},[183,212],{"type":60,"tag":184,"props":185,"children":186},"thead",{},[187],{"type":60,"tag":188,"props":189,"children":190},"tr",{},[191,197,202,207],{"type":60,"tag":192,"props":193,"children":194},"th",{},[195],{"type":66,"value":196},"Flag",{"type":60,"tag":192,"props":198,"children":199},{},[200],{"type":66,"value":201},"Required",{"type":60,"tag":192,"props":203,"children":204},{},[205],{"type":66,"value":206},"Default",{"type":60,"tag":192,"props":208,"children":209},{},[210],{"type":66,"value":211},"Description",{"type":60,"tag":213,"props":214,"children":215},"tbody",{},[216,244,269],{"type":60,"tag":188,"props":217,"children":218},{},[219,229,234,239],{"type":60,"tag":220,"props":221,"children":222},"td",{},[223],{"type":60,"tag":85,"props":224,"children":226},{"className":225},[],[227],{"type":66,"value":228},"--template",{"type":60,"tag":220,"props":230,"children":231},{},[232],{"type":66,"value":233},"✓",{"type":60,"tag":220,"props":235,"children":236},{},[237],{"type":66,"value":238},"—",{"type":60,"tag":220,"props":240,"children":241},{},[242],{"type":66,"value":243},"Full template resource name (projects\u002FPROJECT\u002Flocations\u002FLOCATION\u002Ftemplates\u002FTEMPLATE)",{"type":60,"tag":188,"props":245,"children":246},{},[247,256,260,264],{"type":60,"tag":220,"props":248,"children":249},{},[250],{"type":60,"tag":85,"props":251,"children":253},{"className":252},[],[254],{"type":66,"value":255},"--text",{"type":60,"tag":220,"props":257,"children":258},{},[259],{"type":66,"value":238},{"type":60,"tag":220,"props":261,"children":262},{},[263],{"type":66,"value":238},{"type":60,"tag":220,"props":265,"children":266},{},[267],{"type":66,"value":268},"Text content to sanitize",{"type":60,"tag":188,"props":270,"children":271},{},[272,281,285,289],{"type":60,"tag":220,"props":273,"children":274},{},[275],{"type":60,"tag":85,"props":276,"children":278},{"className":277},[],[279],{"type":66,"value":280},"--json",{"type":60,"tag":220,"props":282,"children":283},{},[284],{"type":66,"value":238},{"type":60,"tag":220,"props":286,"children":287},{},[288],{"type":66,"value":238},{"type":60,"tag":220,"props":290,"children":291},{},[292],{"type":66,"value":293},"Full JSON request body (overrides --text)",{"type":60,"tag":107,"props":295,"children":297},{"id":296},"examples",[298],{"type":66,"value":299},"Examples",{"type":60,"tag":114,"props":301,"children":303},{"className":116,"code":302,"language":118,"meta":119,"style":119},"gws modelarmor +sanitize-response --template projects\u002FP\u002Flocations\u002FL\u002Ftemplates\u002FT --text 'model output'\nmodel_cmd | gws modelarmor +sanitize-response --template ...\n",[304],{"type":60,"tag":85,"props":305,"children":306},{"__ignoreMap":119},[307,351],{"type":60,"tag":125,"props":308,"children":309},{"class":127,"line":128},[310,314,318,322,326,331,336,341,346],{"type":60,"tag":125,"props":311,"children":312},{"style":132},[313],{"type":66,"value":54},{"type":60,"tag":125,"props":315,"children":316},{"style":137},[317],{"type":66,"value":140},{"type":60,"tag":125,"props":319,"children":320},{"style":137},[321],{"type":66,"value":145},{"type":60,"tag":125,"props":323,"children":324},{"style":137},[325],{"type":66,"value":150},{"type":60,"tag":125,"props":327,"children":328},{"style":137},[329],{"type":66,"value":330}," projects\u002FP\u002Flocations\u002FL\u002Ftemplates\u002FT",{"type":60,"tag":125,"props":332,"children":333},{"style":137},[334],{"type":66,"value":335}," --text",{"type":60,"tag":125,"props":337,"children":338},{"style":153},[339],{"type":66,"value":340}," '",{"type":60,"tag":125,"props":342,"children":343},{"style":137},[344],{"type":66,"value":345},"model output",{"type":60,"tag":125,"props":347,"children":348},{"style":153},[349],{"type":66,"value":350},"'\n",{"type":60,"tag":125,"props":352,"children":354},{"class":127,"line":353},2,[355,360,365,370,374,378,382],{"type":60,"tag":125,"props":356,"children":357},{"style":132},[358],{"type":66,"value":359},"model_cmd",{"type":60,"tag":125,"props":361,"children":362},{"style":153},[363],{"type":66,"value":364}," |",{"type":60,"tag":125,"props":366,"children":367},{"style":132},[368],{"type":66,"value":369}," gws",{"type":60,"tag":125,"props":371,"children":372},{"style":137},[373],{"type":66,"value":140},{"type":60,"tag":125,"props":375,"children":376},{"style":137},[377],{"type":66,"value":145},{"type":60,"tag":125,"props":379,"children":380},{"style":137},[381],{"type":66,"value":150},{"type":60,"tag":125,"props":383,"children":384},{"style":137},[385],{"type":66,"value":386}," ...\n",{"type":60,"tag":107,"props":388,"children":390},{"id":389},"tips",[391],{"type":66,"value":392},"Tips",{"type":60,"tag":394,"props":395,"children":396},"ul",{},[397,403],{"type":60,"tag":398,"props":399,"children":400},"li",{},[401],{"type":66,"value":402},"Use for outbound safety (model -> user).",{"type":60,"tag":398,"props":404,"children":405},{},[406],{"type":66,"value":407},"For inbound safety (user -> model), use +sanitize-prompt.",{"type":60,"tag":107,"props":409,"children":411},{"id":410},"see-also",[412],{"type":66,"value":413},"See Also",{"type":60,"tag":394,"props":415,"children":416},{},[417,428],{"type":60,"tag":398,"props":418,"children":419},{},[420,426],{"type":60,"tag":421,"props":422,"children":423},"a",{"href":90},[424],{"type":66,"value":425},"gws-shared",{"type":66,"value":427}," — Global flags and auth",{"type":60,"tag":398,"props":429,"children":430},{},[431,437],{"type":60,"tag":421,"props":432,"children":434},{"href":433},"..\u002Fgws-modelarmor\u002FSKILL.md",[435],{"type":66,"value":436},"gws-modelarmor",{"type":66,"value":438}," — All filter user-generated content for safety commands",{"type":60,"tag":440,"props":441,"children":442},"style",{},[443],{"type":66,"value":444},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":446,"total":595},[447,464,477,489,499,510,519,530,543,556,569,582],{"slug":448,"name":448,"fn":449,"description":450,"org":451,"tags":452,"stars":21,"repoUrl":22,"updatedAt":463},"gws-admin-reports","generate Google Workspace audit and usage reports","Google Workspace Admin SDK: Audit logs and usage reports.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[453,456,457,460],{"name":454,"slug":455,"type":16},"Audit","audit",{"name":9,"slug":8,"type":16},{"name":458,"slug":459,"type":16},"Logs","logs",{"name":461,"slug":462,"type":16},"Reporting","reporting","2026-07-12T08:26:31.062227",{"slug":465,"name":465,"fn":466,"description":467,"org":468,"tags":469,"stars":21,"repoUrl":22,"updatedAt":476},"gws-calendar","manage Google Calendar events and schedules","Google Calendar: Manage calendars and events.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[470,472,473],{"name":471,"slug":35,"type":16},"Google Calendar",{"name":9,"slug":8,"type":16},{"name":474,"slug":475,"type":16},"Scheduling","scheduling","2026-07-12T08:24:59.616333",{"slug":478,"name":478,"fn":479,"description":480,"org":481,"tags":482,"stars":21,"repoUrl":22,"updatedAt":488},"gws-calendar-agenda","show upcoming Google Calendar events","Google Calendar: Show upcoming events across all calendars.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[483,484,485],{"name":471,"slug":35,"type":16},{"name":9,"slug":8,"type":16},{"name":486,"slug":487,"type":16},"Meetings","meetings","2026-07-12T08:25:10.888894",{"slug":490,"name":490,"fn":491,"description":492,"org":493,"tags":494,"stars":21,"repoUrl":22,"updatedAt":498},"gws-calendar-insert","create Google Calendar events","Google Calendar: Create a new event.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[495,496,497],{"name":471,"slug":35,"type":16},{"name":9,"slug":8,"type":16},{"name":474,"slug":475,"type":16},"2026-07-12T08:25:09.604012",{"slug":500,"name":500,"fn":501,"description":502,"org":503,"tags":504,"stars":21,"repoUrl":22,"updatedAt":509},"gws-chat","manage Google Chat spaces and messages","Google Chat: Manage Chat spaces and messages.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[505,506],{"name":9,"slug":8,"type":16},{"name":507,"slug":508,"type":16},"Messaging","messaging","2026-07-12T08:26:10.121585",{"slug":511,"name":511,"fn":512,"description":513,"org":514,"tags":515,"stars":21,"repoUrl":22,"updatedAt":518},"gws-chat-send","send messages to Google Chat spaces","Google Chat: Send a message to a space.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[516,517],{"name":9,"slug":8,"type":16},{"name":507,"slug":508,"type":16},"2026-07-12T08:24:45.761728",{"slug":520,"name":520,"fn":521,"description":522,"org":523,"tags":524,"stars":21,"repoUrl":22,"updatedAt":529},"gws-classroom","manage Google Classroom rosters and coursework","Google Classroom: Manage classes, rosters, and coursework.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[525,528],{"name":526,"slug":527,"type":16},"Education","education",{"name":9,"slug":8,"type":16},"2026-07-12T08:25:00.846861",{"slug":531,"name":531,"fn":532,"description":533,"org":534,"tags":535,"stars":21,"repoUrl":22,"updatedAt":542},"gws-docs","read and write Google Docs","Read and write Google Docs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[536,539,541],{"name":537,"slug":538,"type":16},"Documents","documents",{"name":540,"slug":37,"type":16},"Google Docs",{"name":9,"slug":8,"type":16},"2026-07-12T08:26:07.645598",{"slug":544,"name":544,"fn":545,"description":546,"org":547,"tags":548,"stars":21,"repoUrl":22,"updatedAt":555},"gws-docs-write","append text to Google Docs","Google Docs: Append text to a document.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[549,550,551,552],{"name":537,"slug":538,"type":16},{"name":540,"slug":37,"type":16},{"name":9,"slug":8,"type":16},{"name":553,"slug":554,"type":16},"Writing","writing","2026-07-12T08:26:22.261687",{"slug":557,"name":557,"fn":558,"description":559,"org":560,"tags":561,"stars":21,"repoUrl":22,"updatedAt":568},"gws-drive","manage files in Google Drive","Google Drive: Manage files, folders, and shared drives.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[562,565,567],{"name":563,"slug":564,"type":16},"File Storage","file-storage",{"name":566,"slug":38,"type":16},"Google Drive",{"name":9,"slug":8,"type":16},"2026-07-12T08:24:42.025037",{"slug":570,"name":570,"fn":571,"description":572,"org":573,"tags":574,"stars":21,"repoUrl":22,"updatedAt":581},"gws-drive-upload","upload files to Google Drive","Google Drive: Upload a file with automatic metadata.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[575,576,579,580],{"name":563,"slug":564,"type":16},{"name":577,"slug":578,"type":16},"File Uploads","file-uploads",{"name":566,"slug":38,"type":16},{"name":9,"slug":8,"type":16},"2026-07-12T08:25:02.071018",{"slug":583,"name":583,"fn":584,"description":585,"org":586,"tags":587,"stars":21,"repoUrl":22,"updatedAt":594},"gws-events","subscribe to Google Workspace events","Subscribe to Google Workspace events.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[588,590,591],{"name":589,"slug":29,"type":16},"Automation",{"name":9,"slug":8,"type":16},{"name":592,"slug":593,"type":16},"Notifications","notifications","2026-07-12T08:24:35.741351",95,{"items":597,"total":595},[598,605,611,617,623,628,633],{"slug":448,"name":448,"fn":449,"description":450,"org":599,"tags":600,"stars":21,"repoUrl":22,"updatedAt":463},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[601,602,603,604],{"name":454,"slug":455,"type":16},{"name":9,"slug":8,"type":16},{"name":458,"slug":459,"type":16},{"name":461,"slug":462,"type":16},{"slug":465,"name":465,"fn":466,"description":467,"org":606,"tags":607,"stars":21,"repoUrl":22,"updatedAt":476},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[608,609,610],{"name":471,"slug":35,"type":16},{"name":9,"slug":8,"type":16},{"name":474,"slug":475,"type":16},{"slug":478,"name":478,"fn":479,"description":480,"org":612,"tags":613,"stars":21,"repoUrl":22,"updatedAt":488},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[614,615,616],{"name":471,"slug":35,"type":16},{"name":9,"slug":8,"type":16},{"name":486,"slug":487,"type":16},{"slug":490,"name":490,"fn":491,"description":492,"org":618,"tags":619,"stars":21,"repoUrl":22,"updatedAt":498},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[620,621,622],{"name":471,"slug":35,"type":16},{"name":9,"slug":8,"type":16},{"name":474,"slug":475,"type":16},{"slug":500,"name":500,"fn":501,"description":502,"org":624,"tags":625,"stars":21,"repoUrl":22,"updatedAt":509},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[626,627],{"name":9,"slug":8,"type":16},{"name":507,"slug":508,"type":16},{"slug":511,"name":511,"fn":512,"description":513,"org":629,"tags":630,"stars":21,"repoUrl":22,"updatedAt":518},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[631,632],{"name":9,"slug":8,"type":16},{"name":507,"slug":508,"type":16},{"slug":520,"name":520,"fn":521,"description":522,"org":634,"tags":635,"stars":21,"repoUrl":22,"updatedAt":529},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[636,637],{"name":526,"slug":527,"type":16},{"name":9,"slug":8,"type":16}]