naftiko: 1.0.0-alpha2 info: label: GitHub Repos API — Issues description: 'GitHub Repos API — Issues. 31 operations. Lead operation: List Repository Issues. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Issues created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: temp-issues baseUri: '' description: GitHub Repos API — Issues business capability. Self-contained, no shared references. resources: - name: repos-owner-repo-issues path: /repos/{owner}/{repo}/issues operations: - name: listrepositoryissues method: GET description: List Repository Issues outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: milestone in: query type: string description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone are accepted. If the str - name: state in: query type: string description: Indicates the state of the issues to return. - name: assignee in: query type: string description: Can be the name of a user. Pass in `none` for issues with no assigned user, and `*` for issues assigned to any user. - name: creator in: query type: string description: The user that created the issue. - name: mentioned in: query type: string description: user that's mentioned in the issue. - name: sort in: query type: string description: What to sort results by. - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: createanissue method: POST description: Create 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: true - name: repos-owner-repo-issues-comments path: /repos/{owner}/{repo}/issues/comments operations: - name: listissuecommentsforrepository method: GET description: List Issue Comments For Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: direction in: query type: string description: Either `asc` or `desc`. Ignored without the `sort` parameter. - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-issues-comments-comment_id path: /repos/{owner}/{repo}/issues/comments/{comment_id} operations: - name: getanissuecomment method: GET description: Get An Issue Comment 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: updateanissuecomment method: PATCH description: Update An Issue Comment 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: deleteanissuecomment method: DELETE description: Delete An Issue Comment 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: repos-owner-repo-issues-comments-comment_id-reactions path: /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions operations: - name: listreactionsforanissuecomment method: GET description: List Reactions For An Issue Comment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: content in: query type: string description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions). Omit this parameter to list all reacti - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: createreactionforanissuecomment method: POST description: Create Reaction For An Issue Comment 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-issues-comments-comment_id-reactions-reaction_id path: /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id} operations: - name: deleteanissuecommentreaction method: DELETE description: Delete An Issue Comment Reaction 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: repos-owner-repo-issues-events path: /repos/{owner}/{repo}/issues/events operations: - name: listissueeventsforrepository method: GET description: List Issue Events 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: repos-owner-repo-issues-events-event_id path: /repos/{owner}/{repo}/issues/events/{event_id} operations: - name: getanissueevent method: GET description: Get An Issue Event outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: event_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: repos-owner-repo-issues-issue_number path: /repos/{owner}/{repo}/issues/{issue_number} operations: - name: getanissue method: GET description: Get 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: updateanissue method: PATCH description: Update 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-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: removeassigneesfromanissue method: DELETE description: Remove Assignees From 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-assignees-assignee path: /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee} operations: - name: checkifusercanbeassignedtoissue method: GET description: Check If User Can Be Assigned To Issue outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: assignee in: path type: string required: true - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-issues-issue_number-comments path: /repos/{owner}/{repo}/issues/{issue_number}/comments operations: - name: listissuecomments method: GET description: List Issue Comments 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: createanissuecomment method: POST description: Create An Issue Comment 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-issues-issue_number-events path: /repos/{owner}/{repo}/issues/{issue_number}/events operations: - name: listissueevents method: GET description: List Issue Events 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: repos-owner-repo-issues-issue_number-labels path: /repos/{owner}/{repo}/issues/{issue_number}/labels operations: - name: listlabelsforanissue method: GET description: List Labels For 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: 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: setlabelsforanissue method: PUT description: Set Labels For 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: removealllabelsfromanissue method: DELETE description: Remove All Labels From 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: repos-owner-repo-issues-issue_number-labels-name path: /repos/{owner}/{repo}/issues/{issue_number}/labels/{name} operations: - name: removelabelfromanissue method: DELETE description: Remove Label From An Issue outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string required: true - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-issues-issue_number-lock path: /repos/{owner}/{repo}/issues/{issue_number}/lock operations: - name: lockanissue method: PUT description: Lock 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: unlockanissue method: DELETE description: Unlock 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: repos-owner-repo-issues-issue_number-reactions path: /repos/{owner}/{repo}/issues/{issue_number}/reactions operations: - name: listreactionsforanissue method: GET description: List Reactions For An Issue outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: content in: query type: string description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions). Omit this parameter to list all reacti - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: createreactionforanissue method: POST description: Create Reaction For 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: true - name: repos-owner-repo-issues-issue_number-reactions-reaction_id path: /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id} operations: - name: deleteanissuereaction method: DELETE description: Delete An Issue Reaction 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: repos-owner-repo-issues-issue_number-timeline path: /repos/{owner}/{repo}/issues/{issue_number}/timeline operations: - name: listtimelineeventsforanissue method: GET description: List Timeline Events For 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: repos-owner-repo-milestones-milestone_number-labels path: /repos/{owner}/{repo}/milestones/{milestone_number}/labels operations: - name: listlabelsforissuesinmilestone method: GET description: List Labels For Issues In Milestone 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-issues-rest port: 8080 description: REST adapter for GitHub Repos API — Issues. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repos/{owner}/{repo}/issues name: repos-owner-repo-issues description: REST surface for repos-owner-repo-issues. operations: - method: GET name: listrepositoryissues description: List Repository Issues call: temp-issues.listrepositoryissues with: milestone: rest.milestone state: rest.state assignee: rest.assignee creator: rest.creator mentioned: rest.mentioned sort: rest.sort Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: POST name: createanissue description: Create An Issue call: temp-issues.createanissue 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/comments name: repos-owner-repo-issues-comments description: REST surface for repos-owner-repo-issues-comments. operations: - method: GET name: listissuecommentsforrepository description: List Issue Comments For Repository call: temp-issues.listissuecommentsforrepository with: direction: rest.direction Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/comments/{comment-id} name: repos-owner-repo-issues-comments-comment-id description: REST surface for repos-owner-repo-issues-comments-comment_id. operations: - method: GET name: getanissuecomment description: Get An Issue Comment call: temp-issues.getanissuecomment with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: PATCH name: updateanissuecomment description: Update An Issue Comment call: temp-issues.updateanissuecomment with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteanissuecomment description: Delete An Issue Comment call: temp-issues.deleteanissuecomment with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/comments/{comment-id}/reactions name: repos-owner-repo-issues-comments-comment-id-reactions description: REST surface for repos-owner-repo-issues-comments-comment_id-reactions. operations: - method: GET name: listreactionsforanissuecomment description: List Reactions For An Issue Comment call: temp-issues.listreactionsforanissuecomment with: content: rest.content Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: POST name: createreactionforanissuecomment description: Create Reaction For An Issue Comment call: temp-issues.createreactionforanissuecomment 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/comments/{comment-id}/reactions/{reaction-id} name: repos-owner-repo-issues-comments-comment-id-reactions-reaction-id description: REST surface for repos-owner-repo-issues-comments-comment_id-reactions-reaction_id. operations: - method: DELETE name: deleteanissuecommentreaction description: Delete An Issue Comment Reaction call: temp-issues.deleteanissuecommentreaction with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/events name: repos-owner-repo-issues-events description: REST surface for repos-owner-repo-issues-events. operations: - method: GET name: listissueeventsforrepository description: List Issue Events For Repository call: temp-issues.listissueeventsforrepository with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/events/{event-id} name: repos-owner-repo-issues-events-event-id description: REST surface for repos-owner-repo-issues-events-event_id. operations: - method: GET name: getanissueevent description: Get An Issue Event call: temp-issues.getanissueevent with: event_id: rest.event_id Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/{issue-number} name: repos-owner-repo-issues-issue-number description: REST surface for repos-owner-repo-issues-issue_number. operations: - method: GET name: getanissue description: Get An Issue call: temp-issues.getanissue with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: PATCH name: updateanissue description: Update An Issue call: temp-issues.updateanissue 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-issues.addassigneestoanissue with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: removeassigneesfromanissue description: Remove Assignees From An Issue call: temp-issues.removeassigneesfromanissue 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/{assignee} name: repos-owner-repo-issues-issue-number-assignees-assignee description: REST surface for repos-owner-repo-issues-issue_number-assignees-assignee. operations: - method: GET name: checkifusercanbeassignedtoissue description: Check If User Can Be Assigned To Issue call: temp-issues.checkifusercanbeassignedtoissue with: assignee: rest.assignee Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/{issue-number}/comments name: repos-owner-repo-issues-issue-number-comments description: REST surface for repos-owner-repo-issues-issue_number-comments. operations: - method: GET name: listissuecomments description: List Issue Comments call: temp-issues.listissuecomments with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: POST name: createanissuecomment description: Create An Issue Comment call: temp-issues.createanissuecomment 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}/events name: repos-owner-repo-issues-issue-number-events description: REST surface for repos-owner-repo-issues-issue_number-events. operations: - method: GET name: listissueevents description: List Issue Events call: temp-issues.listissueevents with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept 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: GET name: listlabelsforanissue description: List Labels For An Issue call: temp-issues.listlabelsforanissue with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: POST name: addlabelstoanissue description: Add Labels To An Issue call: temp-issues.addlabelstoanissue with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: setlabelsforanissue description: Set Labels For An Issue call: temp-issues.setlabelsforanissue with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: removealllabelsfromanissue description: Remove All Labels From An Issue call: temp-issues.removealllabelsfromanissue with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/{issue-number}/labels/{name} name: repos-owner-repo-issues-issue-number-labels-name description: REST surface for repos-owner-repo-issues-issue_number-labels-name. operations: - method: DELETE name: removelabelfromanissue description: Remove Label From An Issue call: temp-issues.removelabelfromanissue with: name: rest.name Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/{issue-number}/lock name: repos-owner-repo-issues-issue-number-lock description: REST surface for repos-owner-repo-issues-issue_number-lock. operations: - method: PUT name: lockanissue description: Lock An Issue call: temp-issues.lockanissue with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: unlockanissue description: Unlock An Issue call: temp-issues.unlockanissue with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/{issue-number}/reactions name: repos-owner-repo-issues-issue-number-reactions description: REST surface for repos-owner-repo-issues-issue_number-reactions. operations: - method: GET name: listreactionsforanissue description: List Reactions For An Issue call: temp-issues.listreactionsforanissue with: content: rest.content Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: POST name: createreactionforanissue description: Create Reaction For An Issue call: temp-issues.createreactionforanissue 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}/reactions/{reaction-id} name: repos-owner-repo-issues-issue-number-reactions-reaction-id description: REST surface for repos-owner-repo-issues-issue_number-reactions-reaction_id. operations: - method: DELETE name: deleteanissuereaction description: Delete An Issue Reaction call: temp-issues.deleteanissuereaction with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/{issue-number}/timeline name: repos-owner-repo-issues-issue-number-timeline description: REST surface for repos-owner-repo-issues-issue_number-timeline. operations: - method: GET name: listtimelineeventsforanissue description: List Timeline Events For An Issue call: temp-issues.listtimelineeventsforanissue with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/milestones/{milestone-number}/labels name: repos-owner-repo-milestones-milestone-number-labels description: REST surface for repos-owner-repo-milestones-milestone_number-labels. operations: - method: GET name: listlabelsforissuesinmilestone description: List Labels For Issues In Milestone call: temp-issues.listlabelsforissuesinmilestone with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - type: mcp namespace: temp-issues-mcp port: 9090 transport: http description: MCP adapter for GitHub Repos API — Issues. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-repository-issues description: List Repository Issues hints: readOnly: true destructive: false idempotent: true call: temp-issues.listrepositoryissues with: milestone: tools.milestone state: tools.state assignee: tools.assignee creator: tools.creator mentioned: tools.mentioned sort: tools.sort Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: create-issue description: Create An Issue hints: readOnly: false destructive: false idempotent: false call: temp-issues.createanissue with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: list-issue-comments-repository description: List Issue Comments For Repository hints: readOnly: true destructive: false idempotent: true call: temp-issues.listissuecommentsforrepository with: direction: tools.direction Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: get-issue-comment description: Get An Issue Comment hints: readOnly: true destructive: false idempotent: true call: temp-issues.getanissuecomment with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: update-issue-comment description: Update An Issue Comment hints: readOnly: false destructive: false idempotent: true call: temp-issues.updateanissuecomment with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: delete-issue-comment description: Delete An Issue Comment hints: readOnly: false destructive: true idempotent: true call: temp-issues.deleteanissuecomment with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: list-reactions-issue-comment description: List Reactions For An Issue Comment hints: readOnly: true destructive: false idempotent: true call: temp-issues.listreactionsforanissuecomment with: content: tools.content Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: create-reaction-issue-comment description: Create Reaction For An Issue Comment hints: readOnly: false destructive: false idempotent: false call: temp-issues.createreactionforanissuecomment with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: delete-issue-comment-reaction description: Delete An Issue Comment Reaction hints: readOnly: false destructive: true idempotent: true call: temp-issues.deleteanissuecommentreaction with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: list-issue-events-repository description: List Issue Events For Repository hints: readOnly: true destructive: false idempotent: true call: temp-issues.listissueeventsforrepository with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: get-issue-event description: Get An Issue Event hints: readOnly: true destructive: false idempotent: true call: temp-issues.getanissueevent with: event_id: tools.event_id Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: get-issue description: Get An Issue hints: readOnly: true destructive: false idempotent: true call: temp-issues.getanissue with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: update-issue description: Update An Issue hints: readOnly: false destructive: false idempotent: true call: temp-issues.updateanissue 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-issues.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: remove-assignees-issue description: Remove Assignees From An Issue hints: readOnly: false destructive: true idempotent: true call: temp-issues.removeassigneesfromanissue with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: check-if-user-can-be description: Check If User Can Be Assigned To Issue hints: readOnly: true destructive: false idempotent: true call: temp-issues.checkifusercanbeassignedtoissue with: assignee: tools.assignee Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: list-issue-comments description: List Issue Comments hints: readOnly: true destructive: false idempotent: true call: temp-issues.listissuecomments with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: create-issue-comment description: Create An Issue Comment hints: readOnly: false destructive: false idempotent: false call: temp-issues.createanissuecomment with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: list-issue-events description: List Issue Events hints: readOnly: true destructive: false idempotent: true call: temp-issues.listissueevents with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: list-labels-issue description: List Labels For An Issue hints: readOnly: true destructive: false idempotent: true call: temp-issues.listlabelsforanissue with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: add-labels-issue description: Add Labels To An Issue hints: readOnly: false destructive: false idempotent: false call: temp-issues.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: set-labels-issue description: Set Labels For An Issue hints: readOnly: false destructive: false idempotent: true call: temp-issues.setlabelsforanissue with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: remove-all-labels-issue description: Remove All Labels From An Issue hints: readOnly: false destructive: true idempotent: true call: temp-issues.removealllabelsfromanissue with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: remove-label-issue description: Remove Label From An Issue hints: readOnly: false destructive: true idempotent: true call: temp-issues.removelabelfromanissue with: name: tools.name Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: lock-issue description: Lock An Issue hints: readOnly: false destructive: false idempotent: true call: temp-issues.lockanissue with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: unlock-issue description: Unlock An Issue hints: readOnly: false destructive: true idempotent: true call: temp-issues.unlockanissue with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: list-reactions-issue description: List Reactions For An Issue hints: readOnly: true destructive: false idempotent: true call: temp-issues.listreactionsforanissue with: content: tools.content Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: create-reaction-issue description: Create Reaction For An Issue hints: readOnly: false destructive: false idempotent: false call: temp-issues.createreactionforanissue with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: delete-issue-reaction description: Delete An Issue Reaction hints: readOnly: false destructive: true idempotent: true call: temp-issues.deleteanissuereaction with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: list-timeline-events-issue description: List Timeline Events For An Issue hints: readOnly: true destructive: false idempotent: true call: temp-issues.listtimelineeventsforanissue with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: list-labels-issues-milestone description: List Labels For Issues In Milestone hints: readOnly: true destructive: false idempotent: true call: temp-issues.listlabelsforissuesinmilestone with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $.