Consult Grok
grok_consultRequest a read-only Grok second opinion for planning, research, analysis, or code review. Uses high-reasoning to deliver evidence-based feedback without editing files.
Instructions
Run a synchronous, read-only Grok second opinion for planning, research, analysis, or code review. Uses xhigh reasoning by default and cannot edit files.
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": {
"prompt": "<prompt>",
"cwd": "<cwd>"
},
"name": "grok_consult"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Absolute path to the active project directory. | |
| role | No | reviewer | |
| model | No | ||
| effort | No | xhigh | |
| prompt | Yes | Exact task and desired evidence or output. | |
| max_turns | No | ||
| web_search | No | ||
| timeout_seconds | No | ||
| resume_session_id | No |