github_repos_list_deployments
List deployments from a GitHub repository by owner and repo name, with optional filters for SHA, ref, task, environment, and pagination.
Instructions
List deployments
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": {
"owner": "<owner>",
"repo": "<repo>"
},
"name": "github_repos_list_deployments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | The name of the ref. This can be a branch, tag, or SHA. | |
| sha | No | The SHA recorded at creation time. | |
| 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)." | |
| repo | Yes | repo | |
| task | No | The name of the task for the deployment (e.g., `deploy` or `deploy:migrations`). | |
| owner | Yes | owner | |
| 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)." | |
| environment | No | The name of the environment that was deployed to (e.g., `staging` or `production`). |