GitHub · Capability

GitHub Repos API — Add

GitHub Repos API — Add. 15 operations. Lead operation: Add Repository Access To Self-hosted Runner Group In An Organization. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubAdd

What You Can Do

PUT
Addrepositoryaccesstoselfhostedrunnergroupinanorganization — Add Repository Access To Self-hosted Runner Group In An Organization
/v1/orgs/{org}/actions/runner-groups/{runner-group-id}/repositories/{repository-id}
PUT
Addselectedrepositorytoanorganizationsecret — Add Selected Repository To An Organization Secret
/v1/orgs/{org}/actions/secrets/{secret-name}/repositories/{repository-id}
PUT
Addselectedrepositorytoanorganizationvariable — Add Selected Repository To An Organization Variable
/v1/orgs/{org}/actions/variables/{name}/repositories/{repository-id}
PUT
Addselectedrepositorytoanorganizationsecret — Add Selected Repository To An Organization Secret
/v1/orgs/{org}/dependabot/secrets/{secret-name}/repositories/{repository-id}
PUT
Addorupdateteamrepositorypermissions — Add Or Update Team Repository Permissions
/v1/orgs/{org}/teams/{team-slug}/repos/{owner}/{repo}
POST
Addcustomlabelstoselfhostedrunnerforrepository — Add Custom Labels To Self-hosted Runner For Repository
/v1/repos/{owner}/{repo}/actions/runners/{runner-id}/labels
POST
Addstatuscheckcontexts — Add Status Check Contexts
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-status-checks/contexts
POST
Addappaccessrestrictions — Add App Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
POST
Addteamaccessrestrictions — Add Team Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
POST
Adduseraccessrestrictions — Add User Access Restrictions
/v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
PUT
Addrepositorycollaborator — Add Repository Collaborator
/v1/repos/{owner}/{repo}/collaborators/{username}
POST
Addassigneestoanissue — Add Assignees To An Issue
/v1/repos/{owner}/{repo}/issues/{issue-number}/assignees
POST
Addlabelstoanissue — Add Labels To An Issue
/v1/repos/{owner}/{repo}/issues/{issue-number}/labels
PUT
Addorupdateteamrepositorypermissionslegacy — Add Or Update Team Repository Permissions (legacy)
/v1/teams/{team-id}/repos/{owner}/{repo}
PUT
Addrepositorytoanappinstallation — Add Repository To An App Installation
/v1/user/installations/{installation-id}/repositories/{repository-id}

MCP Tools

add-repository-access-self-hosted

Add Repository Access To Self-hosted Runner Group In An Organization

idempotent
add-selected-repository-organization-secret

Add Selected Repository To An Organization Secret

idempotent
add-selected-repository-organization-variable

Add Selected Repository To An Organization Variable

idempotent
add-selected-repository-organization-secret-2

Add Selected Repository To An Organization Secret

idempotent
add-update-team-repository-permissions

Add Or Update Team Repository Permissions

idempotent
add-custom-labels-self-hosted

Add Custom Labels To Self-hosted Runner For Repository

add-status-check-contexts

Add Status Check Contexts

read-only
add-app-access-restrictions

Add App Access Restrictions

add-team-access-restrictions

Add Team Access Restrictions

add-user-access-restrictions

Add User Access Restrictions

add-repository-collaborator

Add Repository Collaborator

idempotent
add-assignees-issue

Add Assignees To An Issue

add-labels-issue

Add Labels To An Issue

add-update-team-repository-permissions-2

Add Or Update Team Repository Permissions (legacy)

idempotent
add-repository-app-installation

Add Repository To An App Installation

idempotent

Capability Spec

temp-add.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Repos API — Add
  description: 'GitHub Repos API — Add. 15 operations. Lead operation: Add Repository Access To Self-hosted Runner Group In
    An Organization. Self-contained Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Add
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: temp-add
    baseUri: ''
    description: GitHub Repos API — Add business capability. Self-contained, no shared references.
    resources:
    - name: orgs-org-actions-runner-groups-runner_group_id-repositories-repository_id
      path: /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}
      operations:
      - name: addrepositoryaccesstoselfhostedrunnergroupinanorganization
        method: PUT
        description: Add Repository Access To Self-hosted Runner Group In An Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: orgs-org-actions-secrets-secret_name-repositories-repository_id
      path: /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}
      operations:
      - name: addselectedrepositorytoanorganizationsecret
        method: PUT
        description: Add Selected Repository To An Organization Secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: repository_id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: orgs-org-actions-variables-name-repositories-repository_id
      path: /orgs/{org}/actions/variables/{name}/repositories/{repository_id}
      operations:
      - name: addselectedrepositorytoanorganizationvariable
        method: PUT
        description: Add Selected Repository To An Organization Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: repository_id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: orgs-org-dependabot-secrets-secret_name-repositories-repository_id
      path: /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}
      operations:
      - name: addselectedrepositorytoanorganizationsecret
        method: PUT
        description: Add Selected Repository To An Organization Secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: repository_id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: orgs-org-teams-team_slug-repos-owner-repo
      path: /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}
      operations:
      - name: addorupdateteamrepositorypermissions
        method: PUT
        description: Add Or Update Team Repository Permissions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-actions-runners-runner_id-labels
      path: /repos/{owner}/{repo}/actions/runners/{runner_id}/labels
      operations:
      - name: addcustomlabelstoselfhostedrunnerforrepository
        method: POST
        description: Add Custom Labels To Self-hosted Runner For Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-branches-branch-protection-required_status_checks-contexts
      path: /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts
      operations:
      - name: addstatuscheckcontexts
        method: POST
        description: Add Status Check Contexts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-branches-branch-protection-restrictions-apps
      path: /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
      operations:
      - name: addappaccessrestrictions
        method: POST
        description: Add App Access Restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-branches-branch-protection-restrictions-teams
      path: /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
      operations:
      - name: addteamaccessrestrictions
        method: POST
        description: Add Team Access Restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-branches-branch-protection-restrictions-users
      path: /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
      operations:
      - name: adduseraccessrestrictions
        method: POST
        description: Add User Access Restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-collaborators-username
      path: /repos/{owner}/{repo}/collaborators/{username}
      operations:
      - name: addrepositorycollaborator
        method: PUT
        description: Add Repository Collaborator
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-issues-issue_number-assignees
      path: /repos/{owner}/{repo}/issues/{issue_number}/assignees
      operations:
      - name: addassigneestoanissue
        method: POST
        description: Add Assignees To An Issue
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-issues-issue_number-labels
      path: /repos/{owner}/{repo}/issues/{issue_number}/labels
      operations:
      - name: addlabelstoanissue
        method: POST
        description: Add Labels To An Issue
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: teams-team_id-repos-owner-repo
      path: /teams/{team_id}/repos/{owner}/{repo}
      operations:
      - name: addorupdateteamrepositorypermissionslegacy
        method: PUT
        description: Add Or Update Team Repository Permissions (legacy)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: user-installations-installation_id-repositories-repository_id
      path: /user/installations/{installation_id}/repositories/{repository_id}
      operations:
      - name: addrepositorytoanappinstallation
        method: PUT
        description: Add Repository To An App Installation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: temp-add-rest
    port: 8080
    description: REST adapter for GitHub Repos API — Add. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/orgs/{org}/actions/runner-groups/{runner-group-id}/repositories/{repository-id}
      name: orgs-org-actions-runner-groups-runner-group-id-repositories-repository-id
      description: REST surface for orgs-org-actions-runner-groups-runner_group_id-repositories-repository_id.
      operations:
      - method: PUT
        name: addrepositoryaccesstoselfhostedrunnergroupinanorganization
        description: Add Repository Access To Self-hosted Runner Group In An Organization
        call: temp-add.addrepositoryaccesstoselfhostedrunnergroupinanorganization
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/secrets/{secret-name}/repositories/{repository-id}
      name: orgs-org-actions-secrets-secret-name-repositories-repository-id
      description: REST surface for orgs-org-actions-secrets-secret_name-repositories-repository_id.
      operations:
      - method: PUT
        name: addselectedrepositorytoanorganizationsecret
        description: Add Selected Repository To An Organization Secret
        call: temp-add.addselectedrepositorytoanorganizationsecret
        with:
          repository_id: rest.repository_id
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/variables/{name}/repositories/{repository-id}
      name: orgs-org-actions-variables-name-repositories-repository-id
      description: REST surface for orgs-org-actions-variables-name-repositories-repository_id.
      operations:
      - method: PUT
        name: addselectedrepositorytoanorganizationvariable
        description: Add Selected Repository To An Organization Variable
        call: temp-add.addselectedrepositorytoanorganizationvariable
        with:
          repository_id: rest.repository_id
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/dependabot/secrets/{secret-name}/repositories/{repository-id}
      name: orgs-org-dependabot-secrets-secret-name-repositories-repository-id
      description: REST surface for orgs-org-dependabot-secrets-secret_name-repositories-repository_id.
      operations:
      - method: PUT
        name: addselectedrepositorytoanorganizationsecret
        description: Add Selected Repository To An Organization Secret
        call: temp-add.addselectedrepositorytoanorganizationsecret
        with:
          repository_id: rest.repository_id
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/teams/{team-slug}/repos/{owner}/{repo}
      name: orgs-org-teams-team-slug-repos-owner-repo
      description: REST surface for orgs-org-teams-team_slug-repos-owner-repo.
      operations:
      - method: PUT
        name: addorupdateteamrepositorypermissions
        description: Add Or Update Team Repository Permissions
        call: temp-add.addorupdateteamrepositorypermissions
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/actions/runners/{runner-id}/labels
      name: repos-owner-repo-actions-runners-runner-id-labels
      description: REST surface for repos-owner-repo-actions-runners-runner_id-labels.
      operations:
      - method: POST
        name: addcustomlabelstoselfhostedrunnerforrepository
        description: Add Custom Labels To Self-hosted Runner For Repository
        call: temp-add.addcustomlabelstoselfhostedrunnerforrepository
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/branches/{branch}/protection/required-status-checks/contexts
      name: repos-owner-repo-branches-branch-protection-required-status-checks-contexts
      description: REST surface for repos-owner-repo-branches-branch-protection-required_status_checks-contexts.
      operations:
      - method: POST
        name: addstatuscheckcontexts
        description: Add Status Check Contexts
        call: temp-add.addstatuscheckcontexts
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
      name: repos-owner-repo-branches-branch-protection-restrictions-apps
      description: REST surface for repos-owner-repo-branches-branch-protection-restrictions-apps.
      operations:
      - method: POST
        name: addappaccessrestrictions
        description: Add App Access Restrictions
        call: temp-add.addappaccessrestrictions
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
      name: repos-owner-repo-branches-branch-protection-restrictions-teams
      description: REST surface for repos-owner-repo-branches-branch-protection-restrictions-teams.
      operations:
      - method: POST
        name: addteamaccessrestrictions
        description: Add Team Access Restrictions
        call: temp-add.addteamaccessrestrictions
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
      name: repos-owner-repo-branches-branch-protection-restrictions-users
      description: REST surface for repos-owner-repo-branches-branch-protection-restrictions-users.
      operations:
      - method: POST
        name: adduseraccessrestrictions
        description: Add User Access Restrictions
        call: temp-add.adduseraccessrestrictions
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/collaborators/{username}
      name: repos-owner-repo-collaborators-username
      description: REST surface for repos-owner-repo-collaborators-username.
      operations:
      - method: PUT
        name: addrepositorycollaborator
        description: Add Repository Collaborator
        call: temp-add.addrepositorycollaborator
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/issues/{issue-number}/assignees
      name: repos-owner-repo-issues-issue-number-assignees
      description: REST surface for repos-owner-repo-issues-issue_number-assignees.
      operations:
      - method: POST
        name: addassigneestoanissue
        description: Add Assignees To An Issue
        call: temp-add.addassigneestoanissue
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/issues/{issue-number}/labels
      name: repos-owner-repo-issues-issue-number-labels
      description: REST surface for repos-owner-repo-issues-issue_number-labels.
      operations:
      - method: POST
        name: addlabelstoanissue
        description: Add Labels To An Issue
        call: temp-add.addlabelstoanissue
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/teams/{team-id}/repos/{owner}/{repo}
      name: teams-team-id-repos-owner-repo
      description: REST surface for teams-team_id-repos-owner-repo.
      operations:
      - method: PUT
        name: addorupdateteamrepositorypermissionslegacy
        description: Add Or Update Team Repository Permissions (legacy)
        call: temp-add.addorupdateteamrepositorypermissionslegacy
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/installations/{installation-id}/repositories/{repository-id}
      name: user-installations-installation-id-repositories-repository-id
      description: REST surface for user-installations-installation_id-repositories-repository_id.
      operations:
      - method: PUT
        name: addrepositorytoanappinstallation
        description: Add Repository To An App Installation
        call: temp-add.addrepositorytoanappinstallation
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: temp-add-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Repos API — Add. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: add-repository-access-self-hosted
      description: Add Repository Access To Self-hosted Runner Group In An Organization
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-add.addrepositoryaccesstoselfhostedrunnergroupinanorganization
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: add-selected-repository-organization-secret
      description: Add Selected Repository To An Organization Secret
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-add.addselectedrepositorytoanorganizationsecret
      with:
        repository_id: tools.repository_id
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: add-selected-repository-organization-variable
      description: Add Selected Repository To An Organization Variable
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-add.addselectedrepositorytoanorganizationvariable
      with:
        repository_id: tools.repository_id
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: add-selected-repository-organization-secret-2
      description: Add Selected Repository To An Organization Secret
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-add.addselectedrepositorytoanorganizationsecret
      with:
        repository_id: tools.repository_id
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: add-update-team-repository-permissions
      description: Add Or Update Team Repository Permissions
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-add.addorupdateteamrepositorypermissions
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: add-custom-labels-self-hosted
      description: Add Custom Labels To Self-hosted Runner For Repository
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: temp-add.addcustomlabelstoselfhostedrunnerforrepository
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: add-status-check-contexts
      description: Add Status Check Contexts
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: temp-add.addstatuscheckcontexts
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: add-app-access-restrictions
      description: Add App Access Restrictions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: temp-add.addappaccessrestrictions
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: add-team-access-restrictions
      description: Add Team Access Restrictions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: temp-add.addteamaccessrestrictions
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: add-user-access-restrictions
      description: Add User Access Restrictions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: temp-add.adduseraccessrestrictions
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: add-repository-collaborator
      description: Add Repository Collaborator
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-add.addrepositorycollaborator
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: add-assignees-issue
      description: Add Assignees To An Issue
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: temp-add.addassigneestoanissue
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: add-labels-issue
      description: Add Labels To An Issue
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: temp-add.addlabelstoanissue
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: add-update-team-repository-permissions-2
      description: Add Or Update Team Repository Permissions (legacy)
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-add.addorupdateteamrepositorypermissionslegacy
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: add-repository-app-installation
      description: Add Repository To An App Installation
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-add.addrepositorytoanappinstallation
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.