github_actions_get_repo_actions_policy
Retrieve a repository's GitHub Actions policy by owner, repo, and policy_id to inspect its configuration and verify which Actions permissions are enforced.
Instructions
Get a repository Actions policy
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>",
"policy_id": "<policy_id>"
},
"name": "github_actions_get_repo_actions_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | repo | |
| owner | Yes | owner | |
| policy_id | Yes | policy_id |