gao-gao-zai/dsh-tool-web-search0

@linxin666/dsh-tool-web-search

Persistent DSH model tools for Bing and SearXNG web search plus bounded webpage fetching.

AI Analysis

核心用途是为 DSH 模型提供 Bing 和 SearXNG 联网搜索能力,并支持有界限的网页内容抓取。适合需要让 AI 智能体具备实时联网检索和网页阅读能力的用户。

Package
@linxin666/dsh-tool-web-search
Version
0.1.0
License
MIT
Last updated
Aug 18, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:gao-gao-zai/dsh-tool-web-search

Configuration

The plugin uses the dsh-web-search settings namespace. The default engine is Bing:

engine: bing
maxResults: 10
timeoutMs: 30000
fetch: true
fetchTimeoutMs: 30000
maxResponseBytes: 2000000
fetchMaxOutputChars: 200000
bing:
  market: zh-CN
  setLang: zh-CN

For SearXNG:

engine: searxng
searxng:
  baseUrl: https://searx.example.com
  apiKeyRef: SEARXNG_API_KEY
  apiKeyHeader: Authorization
  apiKeyPrefix: 'Bearer '

The API key is resolved per request through DSH credentials, with an environment-variable fallback when the credentials service is unavailable. It is never placed in the URL or tool output.