read_messages
Fetches the newest messages from an Instagram chat thread and accepts a cursor to page back through older messages.
Instructions
Read the newest messages of a chat (about 20). Pass next_cursor as cursor for older ones.
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": "read_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | ||
| thread_id | Yes |