hezi2020/dsh-plugin-wiki--plugins-dsh-custom-tool0

dsh-custom-tool

DSH自定义工具:在设置界面中通过Monaco编辑器管理用户定义的JavaScript工具,支持模型通过特定接口自主创建工具。

AI 分析

核心用途是让用户或AI模型在DSH中动态编写和管理自定义JS工具。适合有编程基础、需要扩展模型工具链的开发者或高级用户。可在设置UI中直接编辑,支持配置超时、内存限制等参数。

包名
dsh-custom-tool
版本
0.1.0
许可证
MIT
最近更新
2026年8月14日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hezi2020/dsh-plugin-wiki#0f911a1b7aef331b19607a60c884be50e910c0ab&path:plugins/dsh-custom-tool

Configuration

All tunables are cordis.yml config fields of the dsh-custom-tool entry:

FieldDefaultMeaning
timeoutMs30000wall-clock budget per call
memoryLimitMb128worker old-generation heap cap per call
maxResultChars16000rendered result text budget
maxCodeBytes65536UTF-8 byte budget per tool body
maxTools100stored-tool cap
allowNetworktruewhether tool bodies may call fetch