{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Adds a GPG key to the authenticated user's GitHub account.\n\nOAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint.","properties":{"body":{"properties":{"name":{"description":"A descriptive name for the new key.","type":"string"},"armored_public_key":{"description":"A GPG key in ASCII-armored format.","type":"string"}},"type":"object","required":["armored_public_key"],"examples":[{"name":"Octocat's GPG Key","armored_public_key":"-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQINBFnZ2ZIBEADQ2Z7Z7\n-----END PGP PUBLIC KEY BLOCK-----"}]}},"required":["body"],"additionalProperties":false},"name":"Create a GPG key for the authenticated user","id":"github.users.create-gpg-key-for-authenticated-user","example":{"body":{"name":"Octocat's GPG Key","armored_public_key":"-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQINBFnZ2ZIBEADQ2Z7Z7\n-----END PGP PUBLIC KEY BLOCK-----"}},"maxRequests":1,"summary":false}}