docs/tools/minimax-search.md
OpenClaw supports MiniMax as a web_search provider through the MiniMax
Token Plan search API. It returns structured search results with titles, URLs,
snippets, and related queries.
```bash
openclaw configure --section web
```
OpenClaw also accepts MINIMAX_CODING_API_KEY, MINIMAX_OAUTH_TOKEN, and
MINIMAX_API_KEY as env aliases. MINIMAX_API_KEY should point at a
search-enabled Token Plan credential; ordinary MiniMax model API keys may not
be accepted by the Token Plan search endpoint.
{
plugins: {
entries: {
minimax: {
config: {
webSearch: {
apiKey: "sk-cp-...", // optional if a MiniMax Token Plan env var is set
region: "global", // or "cn"
},
},
},
},
},
tools: {
web: {
search: {
provider: "minimax",
},
},
},
}
Environment alternative: set MINIMAX_CODE_PLAN_KEY, MINIMAX_CODING_API_KEY,
MINIMAX_OAUTH_TOKEN, or MINIMAX_API_KEY in the Gateway environment.
For a gateway install, put it in ~/.openclaw/.env.
MiniMax Search uses these endpoints:
https://api.minimax.io/v1/coding_plan/searchhttps://api.minimaxi.com/v1/coding_plan/searchIf plugins.entries.minimax.config.webSearch.region is unset, OpenClaw resolves
the region in this order:
tools.web.search.minimax.region / plugin-owned webSearch.regionMINIMAX_API_HOSTmodels.providers.minimax.baseUrlmodels.providers.minimax-portal.baseUrlThat means CN onboarding or MINIMAX_API_HOST=https://api.minimaxi.com/...
automatically keeps MiniMax Search on the CN host too.
Even when you authenticated MiniMax through the OAuth minimax-portal path,
web search still registers as provider id minimax; the OAuth provider base URL
is used as a region hint for CN/global host selection, and MINIMAX_OAUTH_TOKEN
can satisfy the MiniMax Search bearer credential.
MiniMax Search supports:
querycount (OpenClaw trims the returned result list to the requested count)Provider-specific filters are not currently supported.