get_comments_by_activity_id
Retrieve comments for a specific activity by ID. Fetch paginated lists with cursor support, requiring activity read permissions.
Instructions
List Activity Comments
Endpoint: GET /activities/{id}/comments
Description: Returns the comments on the given activity. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.
Read-only operation. Scopes: one of: activity:read, activity:read_all.
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_by_activity_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The identifier of the activity. | |
| page | No | Deprecated. Prefer to use after_cursor. | |
| per_page | No | Deprecated. Prefer to use page_size. | |
| page_size | No | Number of items per page. Defaults to 30. | |
| after_cursor | No | Cursor of the last item in the previous page of results, used to request the subsequent page of results. When omitted, the first page of results is fetched. |