omdsh-dev/dsh-custom-tool24

dsh-custom-tool

DSH custom tools: manage user-defined JavaScript tools in the settings UI with a Monaco editor; the model creates its own tools through custom_tool_create

AI Analysis

核心用途是动态扩展 Agent 的工具箱。适合需要快速编写轻量级 JS 脚本供大模型调用,或允许大模型自我进化工具的开发者。

Package
dsh-custom-tool
Version
0.1.2
License
MIT
Last updated
Aug 16, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:omdsh-dev/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 or use network APIs