ChenXu233/dsh-gemini-tool-schema ↗★ 0

dsh-gemini-tool-schema

DeepSeek Harness plugin — normalize tool schemas into the strict OpenAPI 3.0 subset that Gemini function declarations accept (fixes HTTP 400 on MCP and built-in tools).

套件
dsh-gemini-tool-schema
相容性
待驗證
版本
0.3.0
授權
MIT
最近更新
2026年10月16日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ChenXu233/dsh-gemini-tool-schema

Configuration

FieldDefaultMeaning
modelistall every request · list matching APIs only · off disabled
apis['gemini','google','vertex']API patterns, compiled as regular expressions
unknownApiapplyWhen the route cannot be read: apply or skip
itemsFallback{type:'string'}Element schema for arrays that omit items
nullabletrueEmit nullable: true for null unions
dryRunfalseReport and lint, but send the original schemas
logFile / logLevelnone / infoOne diagnostic line per assembly
dumpDir / dumpSchemasnone / trueDump the model-facing tool set for offline auditing

Patterns match against provider/model (e.g. gemini-lumiya/gemini-4-argon) and accept substring, regex, and /pattern/flags forms; an entry that does not compile degrades to a case-insensitive substring match. '*' matches everything, or set mode: all.