list_protected_branches
Retrieve branch-protection rules and force-push flags for a project, returning the list of protected branches and their settings.
Instructions
[READ] Branch-protection rules for a project (incl. force-push flags).
Returns {project, protections:[...], returned, limit, truncated}.
Args: project: Project id or full path. limit: Max rows to return (default 100). target: Server target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| target | No | ||
| project | Yes |