get_chat_log
Retrieve an Instagram thread as a readable chronological plain-text chat log optimized for LLM analysis, smaller than JSON; use for text summaries, not structured fields.
Instructions
Get conversation as a readable chat log. Optimized for LLM analysis.
Plain-text chronological log, ~5x smaller than JSON. Use get_messages for structured fields.
Args: thread_id: ID of the thread to get messages from. amount: Maximum number of messages to fetch (default: 50). offset: Skip the N most recent messages (default: 0).
Returns: Object with 'thread_id', 'log' (plain text), 'count', 'offset', 'has_more'.
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": {
"thread_id": "<thread_id>"
},
"name": "get_chat_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | ||
| offset | No | ||
| thread_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||