Code Owners Getprojectsprojectidbranchesbranchidcodeownerspathid
code_owners_getProjectsProjectIdBranchesBranchIdCodeOwnersPathIdLists code owner accounts for a file or folder in a Gerrit branch to identify reviewers or approvers.
Instructions
Lists the accounts that are code owners of a file or folder in a branch.
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": {
"project-id": "<project-id>",
"branch-id": "<branch-id>",
"path-id": "<path-id>"
},
"name": "code_owners_getProjectsProjectIdBranchesBranchIdCodeOwnersPathId"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| O | No | ||
| o | No | ||
| seed | No | ||
| debug | No | ||
| limit | No | ||
| path-id | Yes | ||
| revision | No | ||
| branch-id | Yes | ||
| project-id | Yes | ||
| resolve-all-users | No | ||
| highest-score-only | No |