{
  "annotations": {
    "idempotentHint": false,
    "readOnlyHint": true,
    "title": "Get details of GitHub Actions resources (workflows, workflow runs, jobs, and artifacts)"
  },
  "description": "Get details about specific GitHub Actions resources.\nUse this tool to get details about individual workflows, workflow runs, jobs, and artifacts by their unique IDs.\n",
  "inputSchema": {
    "properties": {
      "method": {
        "description": "The method to execute",
        "enum": [
          "get_workflow",
          "get_workflow_run",
          "get_workflow_job",
          "download_workflow_run_artifact",
          "get_workflow_run_usage",
          "get_workflow_run_logs_url"
        ],
        "type": "string"
      },
      "owner": {
        "description": "Repository owner",
        "type": "string"
      },
      "repo": {
        "description": "Repository name",
        "type": "string"
      },
      "resource_id": {
        "description": "The unique identifier of the resource. This will vary based on the \"method\" provided, so ensure you provide the correct ID:\n- Provide a workflow ID or workflow file name (e.g. ci.yaml) for 'get_workflow' method.\n- Provide a workflow run ID for 'get_workflow_run', 'get_workflow_run_usage', and 'get_workflow_run_logs_url' methods.\n- Provide an artifact ID for 'download_workflow_run_artifact' method.\n- Provide a job ID for 'get_workflow_job' method.\n",
        "type": "string"
      }
    },
    "required": [
      "method",
      "owner",
      "repo",
      "resource_id"
    ],
    "type": "object"
  },
  "name": "actions_get"
}