openclaw/docs/tools/kimi-search.md

1.7 KiB

summary read_when title
Kimi web search via Moonshot web search
You want to use Kimi for web_search
You need a KIMI_API_KEY or MOONSHOT_API_KEY
Kimi Search

Kimi Search

OpenClaw supports Kimi as a web_search provider, using Moonshot web search to produce AI-synthesized answers with citations.

Get an API key

Get an API key from [Moonshot AI](https://platform.moonshot.cn/). Set `KIMI_API_KEY` or `MOONSHOT_API_KEY` in the Gateway environment, or configure via:
```bash
openclaw configure --section web
```

Config

{
  plugins: {
    entries: {
      moonshot: {
        config: {
          webSearch: {
            apiKey: "sk-...", // optional if KIMI_API_KEY or MOONSHOT_API_KEY is set
          },
        },
      },
    },
  },
  tools: {
    web: {
      search: {
        provider: "kimi",
      },
    },
  },
}

Environment alternative: set KIMI_API_KEY or MOONSHOT_API_KEY in the Gateway environment. For a gateway install, put it in ~/.openclaw/.env.

How it works

Kimi uses Moonshot web search to synthesize answers with inline citations, similar to Gemini and Grok's grounded response approach.

Supported parameters

Kimi search supports the standard query and count parameters. Provider-specific filters are not currently supported.