Read Grok Bot messages
read_messagesRead recent messages from an agent chat in Grok Bot, including any pending multiple-choice question, and open the specified chat when an agent is provided.
Instructions
Read recent messages from an agent chat in Grok Bot, including any multiple-choice question the agent is waiting on. Opens that chat in the app if an agent is given.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Agent name as shown by list_agents, e.g. "Researcher". Case-insensitive; a unique prefix works too. Defaults to the open chat. | |
| count | No | How many recent messages to return (default 10). |