list_pull_requests
List pull requests in a repository by provider and repo, with optional state, page, and size filters. Get normalized open or closed PRs for your workflow.
Instructions
List pull requests in a repository.
Args:
provider: Provider key.
repo: Repository in owner/name or workspace/slug form.
state: Provider pull-request state filter.
page: One-based page number.
page_size: Number of results, from 1 through 100.
raw: Include provider payloads.
Returns: Page mapping with normalized pull-request items.
Examples:
Input: {"provider": "github", "repo": "o/r", "state": "open"}.
Output: {"items": [{"id": "7", "state": "open", ...}], ...}.
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": {
"provider": "<provider>",
"repo": "<repo>"
},
"name": "list_pull_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| page | No | ||
| repo | Yes | ||
| state | No | open | |
| provider | Yes | ||
| page_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||