{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method).\"","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."}},"required":["owner","repo","issue_number"],"additionalProperties":false},"body":{"type":["object","null"],"properties":{"lock_reason":{"type":"string","description":"The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons:  \n * `off-topic`  \n * `too heated`  \n * `resolved`  \n * `spam`","enum":["off-topic","too heated","resolved","spam"]}},"examples":[{"lock_reason":"off-topic"}]}},"required":["path"],"additionalProperties":false},"name":"Lock an issue","id":"github.issues.lock","example":{"path":{"owner":"octocat","repo":"hello-world","issue_number":1}},"maxRequests":1,"summary":false}}