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).
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ChenXu233/dsh-gemini-tool-schemaドキュメント
README 全文を読む ↗Configuration
| Field | Default | Meaning |
|---|---|---|
mode | list | all every request · list matching APIs only · off disabled |
apis | ['gemini','google','vertex'] | API patterns, compiled as regular expressions |
unknownApi | apply | When the route cannot be read: apply or skip |
itemsFallback | {type:'string'} | Element schema for arrays that omit items |
nullable | true | Emit nullable: true for null unions |
dryRun | false | Report and lint, but send the original schemas |
logFile / logLevel | none / info | One diagnostic line per assembly |
dumpDir / dumpSchemas | none / true | Dump 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.