{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Approves a pending suggestion on an issue. Applies the proposed change (creating the corresponding timeline event), transitions the suggestion to `approved`, and dismisses any competing pending suggestions for the same change.\n\nRequires triage access to the repository. Approving a suggestion also requires permission to perform the change it applies (for example, setting the issue type, adding a label or assignee, or closing the issue); this only affects fine-grained access tokens and GitHub Apps whose permissions are narrower than the triage role. This endpoint only supports issues, not pull requests.","properties":{"path":{"type":"object","properties":{"owner":{"type":"string","description":"The account owner of the repository. The name is not case sensitive."},"repo":{"type":"string","description":"The name of the repository without the `.git` extension. The name is not case sensitive."},"issue_number":{"type":"integer","description":"The number that identifies the issue."},"suggestion_id":{"type":"integer","description":"The unique identifier of the suggestion."}},"required":["owner","repo","issue_number","suggestion_id"],"additionalProperties":false}},"required":["path"],"additionalProperties":false},"name":"Approve an issue suggestion","id":"github.issues.approve-suggestion","example":{"path":{"owner":"octocat","repo":"hello-world","issue_number":1,"suggestion_id":1}},"maxRequests":1,"summary":false}}