Getprojectsprojectidsubmitrequirements
getProjectsProjectIdSubmitRequirementsRetrieves all submit requirements for a project; set inherited to include requirements from parent projects. Use it to inspect Gerrit project submission rules.
Instructions
Retrieves a list of all submit requirements for this project. The inherited parameter can be supplied to also list submit requirements from parent projects.
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>"
},
"name": "getProjectsProjectIdSubmitRequirements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inherited | No | ||
| project-id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |