github_apps_list_accounts_for_plan
Retrieve accounts for a specified GitHub plan. Supports pagination, sorting by creation or update date, and direction control.
Instructions
List accounts for a plan
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": {
"plan_id": "<plan_id>"
},
"name": "github_apps_list_accounts_for_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 to sort the results by. | |
| plan_id | Yes | plan_id | |
| 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 | To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. |