get_messages
Fetch direct messages from an Instagram DM conversation using its ID. Works with Business/Creator accounts to read message history via the Graph API.
Instructions
Read messages in a DM conversation. REQUIRES Meta App Review (instagram_manage_messages).
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": {
"conversation_id": "<conversation_id>"
},
"name": "get_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| account | No | ||
| conversation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||