dsh-tool-index:用工具索引壓縮 MCP 定義,降低 DSH 每輪 token

dsh-tool-index 是 GunjanPatel359 維護的 DSH 社區插件,將 MCP 工具以緊湊索引(名稱、參數與摘要)發送,通過 tool_details 與 call_tool 按需加載完整 schema,會話內工具列表保持穩定以利於 prompt cache。README 基準顯示多 MCP 場景下單任務 token 可降約 15%–56%。安裝使用 dsh plugin --profile tui add dsh-tool-index;可通過 match、minTools、exclude 等配置控制延遲範圍。插件 MIT 許可,面向 DSH 0.2.x 與 native tool calls。

閱讀全文