reposCheckAutomatedSecurityFixes
Check if Dependabot security updates are enabled for a repository
Details
- Method:
GET - Path:
/repos/{owner}/{repo}/automated-security-fixes - Operation ID:
repos/check-automated-security-fixes
Parameters
{
"owner": {
"description": "The account owner of the repository. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"repo": {
"description": "The name of the repository without the `.git` extension. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
}
}Response Schema
{
"title": "Check Dependabot security updates",
"description": "Check Dependabot security updates",
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"example": true,
"description": "Whether Dependabot security updates are enabled for the repository."
},
"paused": {
"type": "boolean",
"example": false,
"description": "Whether Dependabot security updates are paused for the repository."
}
},
"required": [
"enabled",
"paused"
]
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('github')
# Call this tool
result = await agent.call_tool('reposCheckAutomatedSecurityFixes', {
# Add required parameters here
})