get_activities
Retrieve all activities for a pull request including comments, reviews, commits, and other timeline events. Use this to get the complete activity history and timeline of the pull request.
Instructions
Retrieve all activities for a pull request including comments, reviews, commits, and other timeline events. Use this to get the complete activity history and timeline of the pull request.
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": {
"repository": "<repository>",
"prId": "<prId>"
},
"name": "get_activities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | Pull request ID to get activities for. | |
| limit | No | Maximum number of activities to return per page (default: 25, max: 100). | |
| start | No | Page offset (0-based). Use nextPageStart from a previous response to fetch the next page. | |
| project | No | Bitbucket project key. If omitted, uses BITBUCKET_DEFAULT_PROJECT environment variable. | |
| fetchAll | No | When true, fetches all pages and returns the complete activity history. Recommended when thorough analysis is needed. | |
| repository | Yes | Repository slug containing the pull request. |