Open Context Protocol is live! 🚀 Read the launch post
reposCustomPropertiesForReposCreateOrUpdateRepositoryValues

reposCustomPropertiesForReposCreateOrUpdateRepositoryValues

Create or update custom property values for a repository

Details

  • Method: PATCH
  • Path: /repos/{owner}/{repo}/properties/values
  • Operation ID: repos/custom-properties-for-repos-create-or-update-repository-values

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"
  },
  "properties": {
    "description": "A list of custom property names and associated values to apply to the repositories.",
    "required": true,
    "location": "body",
    "type": "array"
  }
}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('github')

# Call this tool
result = await agent.call_tool('reposCustomPropertiesForReposCreateOrUpdateRepositoryValues', {
    # Add required parameters here
})