github_campaigns_list_org_campaigns
Retrieve a paginated list of campaigns for a GitHub organization, with options to filter by state, sort by date fields, and control page size.
Instructions
List campaigns for an organization
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": {
"org": "<org>"
},
"name": "github_campaigns_list_org_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | org | |
| page | No | The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." | |
| sort | No | The property by which to sort the results. | |
| state | No | If specified, only campaigns with this state will be returned. | |
| per_page | No | The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." | |
| direction | No | The direction to sort the results by. |