openclaw/src/agents/tools
Trevin Chow a25356dea7 feat(tools): add Grok (xAI) as web_search provider
Add xAI's Grok as a new web_search provider alongside Brave and Perplexity.
Uses the xAI /v1/responses API with tools: [{type: "web_search"}].

Configuration:
- tools.web.search.provider: "grok"
- tools.web.search.grok.apiKey or XAI_API_KEY env var
- tools.web.search.grok.model (default: grok-4-1-fast)
- tools.web.search.grok.inlineCitations (optional, embeds markdown links)

Returns AI-synthesized answers with citations similar to Perplexity.
2026-01-29 16:59:30 -08:00
..
agent-step.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
agents-list-tool.ts style: format agents list tool 2026-01-25 13:20:41 +00:00
browser-tool.schema.ts refactor: route browser control via gateway/node 2026-01-27 03:24:54 +00:00
browser-tool.test.ts refactor: route browser control via gateway/node 2026-01-27 03:24:54 +00:00
browser-tool.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
canvas-tool.ts style: run oxfmt 2026-01-16 21:11:55 +00:00
common.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
common.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
cron-tool.test.ts Merge origin/main into fix-discord-accountId 2026-01-23 09:15:44 +00:00
cron-tool.ts Agents: expand cron tool description (#1988) 2026-01-25 20:23:40 -06:00
discord-actions-guild.ts feat(discord): add configurable privileged Gateway Intents (GuildPresences, GuildMembers) (#2266) 2026-01-26 10:39:54 -06:00
discord-actions-messaging.ts fix: honor accountId in message actions 2026-01-23 09:06:04 +00:00
discord-actions-moderation.ts fix: honor accountId in message actions 2026-01-23 09:06:04 +00:00
discord-actions.test.ts fix: stabilize ci tests 2026-01-23 09:52:22 +00:00
discord-actions.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
gateway-tool.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
gateway.test.ts chore: changelog for #293 2026-01-06 15:32:06 +01:00
gateway.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
image-tool.helpers.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
image-tool.test.ts test: update MiniMax API URL expectation to match #3064 2026-01-28 11:04:07 +05:30
image-tool.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
memory-tool.does-not-crash-on-errors.test.ts style: oxfmt 2026-01-17 10:26:08 +00:00
memory-tool.ts fix: local updates for PR #3600 2026-01-28 22:00:11 -05:00
message-tool.test.ts fix: normalize session keys and outbound mirroring 2026-01-24 11:57:11 +00:00
message-tool.ts feat: Add support for Telegram quote (partial message replies) (#2900) 2026-01-27 15:59:24 -05:00
nodes-tool.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
nodes-utils.ts feat: add node core/ui versions in bridge 2026-01-18 15:59:54 +00:00
session-status-tool.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
sessions-announce-target.test.ts refactor: route channel runtime via plugin api 2026-01-18 11:01:16 +00:00
sessions-announce-target.ts fix: normalize delivery routing context 2026-01-17 06:38:33 +00:00
sessions-helpers.test.ts fix: sanitize assistant session text (#1456) (thanks @zerone0x) 2026-01-23 07:05:31 +00:00
sessions-helpers.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
sessions-history-tool.ts fix: resolve session ids in session tools 2026-01-24 11:09:11 +00:00
sessions-list-tool.gating.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
sessions-list-tool.ts fix: resolve session ids in session tools 2026-01-24 11:09:11 +00:00
sessions-send-helpers.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
sessions-send-tool.a2a.ts refactor(logging): split config + subsystem imports 2026-01-19 00:15:44 +00:00
sessions-send-tool.gating.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
sessions-send-tool.ts fix: resolve session ids in session tools 2026-01-24 11:09:11 +00:00
sessions-spawn-tool.ts fix: cron sessions inherit allowAgents from parent agent config (#1771) 2026-01-25 13:10:48 +00:00
slack-actions.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
slack-actions.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
telegram-actions.test.ts feat: Add support for Telegram quote (partial message replies) (#2900) 2026-01-27 15:59:24 -05:00
telegram-actions.ts feat: Add support for Telegram quote (partial message replies) (#2900) 2026-01-27 15:59:24 -05:00
tts-tool.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
web-fetch-utils.ts fix: add readability fallback extraction 2026-01-24 02:15:13 +00:00
web-fetch.ssrf.test.ts fix flaky gateway tests in CI 2026-01-29 12:14:27 +01:00
web-fetch.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
web-search.test.ts feat(tools): add Grok (xAI) as web_search provider 2026-01-29 16:59:30 -08:00
web-search.ts feat(tools): add Grok (xAI) as web_search provider 2026-01-29 16:59:30 -08:00
web-shared.ts style: apply oxfmt 2026-01-18 02:19:35 +00:00
web-tools.enabled-defaults.test.ts fix: validate web_search freshness (#1688) (thanks @JonUleis) 2026-01-25 04:23:25 +00:00
web-tools.fetch.test.ts fix flaky web-fetch tests + lock cleanup 2026-01-29 11:05:11 +01:00
web-tools.readability.test.ts feat: improve web_fetch readability extraction 2026-01-16 23:18:01 +00:00
web-tools.ts refactor: split web tools and docs 2026-01-18 01:42:54 +00:00
whatsapp-actions.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
whatsapp-actions.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00