web_search
Perform web searches with Grok AI and optionally include structured Tavily evidence, returning comprehensive answers with session tracking.
Instructions
Research the web with Grok and optionally use structured Tavily evidence. Returns unified status/error_detail fields plus a session_id and answer content.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "web_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional Grok model ID for this request only. | |
| query | Yes | Clear, self-contained search query. | |
| platform | No | Optional platform focus such as GitHub, Reddit, or Twitter. | |
| extra_sources | No | Additional Tavily results to feed into evidence synthesis and cache. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| status | No | success | |
| content | Yes | ||
| partial | No | ||
| grok_error | No | ||
| session_id | Yes | ||
| error_detail | No | ||
| tavily_error | No | ||
| sources_count | Yes |