{
 "schema_version": 1,
 "generated": "2026-10-23",
 "id": "respanai-respan-gateway--give-any-model-web-search-and-mcp-tools",
 "repo": "respanai/respan-gateway",
 "repo_url": "https://github.com/respanai/respan-gateway",
 "repo_slug": "respanai-respan-gateway",
 "title": "Give any chat model web search and MCP tools",
 "page_title": "How to give any chat model web search and MCP tools with Respan Gateway",
 "summary": "Attach a tool vendor or MCP server so a plain chat call can use it.",
 "who": "A developer building an assistant who needs web search or other tools available to whichever model the app calls.",
 "problem": "Tool support differs by model and client, so tools must be wired separately for each combination.",
 "outcome": "A plain chat request through the gateway can call search tools, whatever the client or model.",
 "steps": [
  "Run `respan-gateway init` to create gateway.toml.",
  "Add a [tools.search] table with the vendor and key settings shown in the README, for example vendor = \"linkup\" with key = \"env:LINKUP_API_KEY\".",
  "Add a [plugins.tool_loop] table whose `servers` list includes \"search\".",
  "Run `respan-gateway check` to validate the file, then start the gateway with `respan-gateway`.",
  "Send a chat request that asks a question needing current web data and check the reply for tool use in the live log."
 ],
 "agent_prompt": "In the respan-gateway repo, add a search tool vendor and the tool_loop plugin to gateway.toml, validate it, then send a chat request to the gateway that needs web search and report the answer. Verify that the live log at localhost:8080/ui/ shows the tool call.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The README example uses the linkup tool vendor, so you need a key for that vendor before search tools will work.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "Python with pip, or a Rust toolchain with cargo, or Docker",
  "An API key for at least one model vendor, such as OPENAI_API_KEY",
  "An existing app or SDK that accepts a custom base URL",
  "Optional: a Respan API key for tracing and a tool vendor key for MCP tools"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Tool vendor keys are stored in gateway.toml through env references, so keep the environment variables out of shared logs and version control."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/respanai-respan-gateway/give-any-model-web-search-and-mcp-tools/",
 "md": "https://dedupedai.com/use-cases/respanai-respan-gateway/give-any-model-web-search-and-mcp-tools/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/respanai-respan-gateway--give-any-model-web-search-and-mcp-tools.json",
 "api_version": "v1"
}
