dsh-tool-deny

为自定义的一组智能体预设隐藏或禁用特定工具,例如其他插件添加到所有预设的工具。隐藏的工具会从工具列表中移除,不占用 token;拒绝的工具调用会被拒绝。还可以清空其他插件添加的系统提示词。通过 YAML 配置。安装后需在 YAML 里加一行配置才会生效。

插件介绍

为自定义的一组智能体预设隐藏或禁用特定工具,例如其他插件添加到所有预设的工具。隐藏的工具会从工具列表中移除,不占用 token;拒绝的工具调用会被拒绝。还可以清空其他插件添加的系统提示词。通过 YAML 配置。安装后需在 YAML 里加一行配置才会生效。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:hhuangpanda/dsh-tool-deny

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。