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).

Package
dsh-gemini-tool-schema
Compatibility
Unverified
Version
0.3.0
License
MIT
Last updated
Oct 16, 2026

Install

$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.