Degurechaff57/dsh-openapi ↗★ 4
dsh-openapi
OpenAPI 3.x discovery and safe API calling tools for DeepSeek Harness.
AI 分析
核心用途是让 Agent 能够动态解析 OpenAPI 规范并安全地调用外部 API。适合需要对接第三方标准接口、构建自动化集成任务的开发者。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Degurechaff57/dsh-openapiドキュメント
README 全文を読む ↗Configuration
Top-level options:
| Field | Default | Purpose |
|---|---|---|
apis | [] | Configured API documents |
timeoutMs | 30000 | Per-call timeout |
maxSpecBytes | 2097152 | Maximum local or remote spec size |
maxResponseBytes | 262144 | Maximum response body returned to the model |
maxRedirects | 3 | Redirect limit; every destination is rechecked |
maxOperationsPerApi | 1000 | Catalog size limit per API |
Each apis entry accepts:
| Field | Default | Purpose |
|---|---|---|
id | required | Stable id used in tool calls |
source | required | HTTP(S) URL, file: URL, absolute path, or path relative to the Harness process |
baseUrl | spec server | Explicit API server override |
headers | {} | Static non-secret headers |
credentials | [] | Header/environment-variable mappings |
allowedMethods | [GET, HEAD] | Methods the tool may invoke |
allowPrivateNetwork | false | Opt in to loopback/private-network destinations |