get_comments
Retrieve comments on social media posts using Ayrshare Post ID, Social Post ID, or Social Comment ID to analyze engagement and manage interactions.
Instructions
Get comments on a social media post. Can retrieve by Ayrshare Post ID, Social Post ID, or Social Comment ID. Requires Premium plan.
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": {
"id": "<id>"
},
"name": "get_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Ayrshare Post ID, Social Post ID, or Social Comment ID | |
| searchPlatformId | No | Set to true when using a Social Post ID or Social Comment ID | |
| commentId | No | Set to true when using a Social Comment ID | |
| platform | No | Required when searchPlatformId or commentId is true | |
| profileKey | No | Profile Key to operate on a specific user profile |