Send a DM
ig_send_messageSends a text Instagram direct message as the account to a recipient ID, limited to 24 hours after the person's last message. Use it to reply within an active conversation.
Instructions
Send a text DM as the account. Instagram allows this only within 24 hours of the person's last message to you. recipient_id is the person's Instagram-scoped ID from ig_list_conversations or ig_get_messages. Max 1000 bytes. Confirm the text with the user first.
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": {
"recipient_id": "<recipient_id>",
"text": "<text>"
},
"name": "ig_send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| recipient_id | Yes |