← 返回
效率工具 中文

Gws Modelarmor Sanitize Prompt

Google Model Armor: Sanitize a user prompt through a Model Armor template.
Google Model Armor:使用 Model Armor 模板净化用户提示
googleworkspace-bot
效率工具 clawhub v1.0.12 3 版本 100000 Key: 无需
★ 0
Stars
📥 742
下载
💾 16
安装
3
版本
#latest

概述

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

FlagRequiredDefaultDescription
--------------------------------------
--templateFull template resource name (projects/PROJECT/locations/LOCATION/templates/TEMPLATE)
--textText content to sanitize
--jsonFull 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

  • If neither --text nor --json is given, reads from stdin.
  • For outbound safety, use +sanitize-response instead.

See Also

版本历史

共 3 个版本

  • v1.0.12 当前
    2026-05-03 03:49 安全 安全
  • v1.0.10
    2026-03-29 15:25
  • v1.0.0
    2026-03-26 22:18

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 440 📥 147,847
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,370
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,886