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

actionsListRunnerApplicationsForRepo

List runner applications for a repository

Details

  • Method: GET
  • Path: /repos/{owner}/{repo}/actions/runners/downloads
  • Operation ID: actions/list-runner-applications-for-repo

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

{
  "type": "array",
  "items": {
    "title": "Runner Application",
    "description": "Runner Application",
    "type": "object",
    "properties": {
      "os": {
        "type": "string"
      },
      "architecture": {
        "type": "string"
      },
      "download_url": {
        "type": "string"
      },
      "filename": {
        "type": "string"
      },
      "temp_download_token": {
        "description": "A short lived bearer token used to download the runner, if needed.",
        "type": "string"
      },
      "sha256_checksum": {
        "type": "string"
      }
    },
    "required": [
      "os",
      "architecture",
      "download_url",
      "filename"
    ]
  }
}

Usage

from ocp_agent import OCPAgent

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

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