list_pull_requests
List pull requests (merge requests) in a project. Requires at least Viewer role. state filter: ‘open’ (default), ‘closed’, or ‘all’. Returns: project (str) — project name; pull_requests (list) — PR summaries with id, title, state, head_branch, base_branch, author, created_at, merged; count (int) — number of PRs returned; state_filter (str) — the state filter applied.
read-only · idempotent
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
project_name | str | Yes | — | |
state | str | No | 'open' |
Returns
Section titled “Returns”Returns a structured object. Top-level fields:
project(string)state(string)pull_requests(array<object>)count(integer)
See the response example below for the full payload shape.
Example
Section titled “Example”Tool Call
Section titled “Tool Call”{ "name": "list_pull_requests", "arguments": { "project_name": "forecasts", "state": "open" }}Response
Section titled “Response”{ "project": "forecasts", "state": "open", "pull_requests": [ { "id": 42, "title": "Aggressive growth scenario", "head_branch": "scenario/aggressive-growth", "base_branch": "main", "state": "open", "author": "alice@example.com", "created_at": "2026-04-28T10:00:00+00:00" } ], "count": 1}- Module:
Pull Requests - Requires authentication via API token or Auth0 JWT.