{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"You can use the REST API to add sub-issues to issues.\n\nCreating content too quickly using this endpoint may result in secondary rate limiting.\nFor more information, see \"[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.","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","properties":{"sub_issue_id":{"type":"integer","description":"The id of the sub-issue to add. The sub-issue must belong to the same repository owner as the parent issue"},"replace_parent":{"type":"boolean","description":"Option that, when true, instructs the operation to replace the sub-issues current parent issue"}},"required":["sub_issue_id"],"examples":[{"sub_issue_id":1}]}},"required":["path","body"],"additionalProperties":false},"name":"Add sub-issue","id":"github.issues.add-sub-issue","example":{"path":{"owner":"octocat","repo":"hello-world","issue_number":1},"body":{"sub_issue_id":1}},"maxRequests":1,"summary":false}}