get_agent_chat_context
Retrieve the complete conversation context for an agent, including all its messages and @mentions, to resume execution from a given chat room.
Instructions
Get conversation context for agent rehydration.
Returns all messages relevant to the agent for execution context/rehydration.
This includes:
- All messages the agent sent (any type: text, tool_call, tool_result, thought, etc.)
- All text messages that @mention the agent
Use this to load the complete context a remote agent needs to resume execution.
Messages are returned in chronological order (oldest first).
Args:
chat_id: The unique identifier of the chat room (required).
page: Page number for pagination (optional, default: 1).
page_size: Items per page (optional, default: 50, max: 100).
Returns:
JSON string containing the agent's conversation context with messages.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | ||
| page | No | ||
| page_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |