{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates the name, body, or both for an artifact attached to an issue.\n\nUpdating an artifact requires permission to update the issue.\n\nThe request can return `403` if the repository is read-only or locked, or a\nGitHub App installation has only `issues: read` permission.","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."},"artifact_number":{"type":"integer","description":"The artifact number within the issue."}},"required":["owner","repo","issue_number","artifact_number"],"additionalProperties":false},"body":{"type":"object","anyOf":[{"required":["name"]},{"required":["body"]}],"properties":{"name":{"type":"string","minLength":1,"description":"The new human-readable name of the artifact."},"body":{"type":"string","minLength":1,"description":"The new artifact content."}},"examples":[{"name":"Revised implementation plan","body":"## Plan\n\nBuild and validate the feature."}]}},"required":["path","body"],"additionalProperties":false},"name":"Update an issue artifact","id":"github.issues.update-issue-artifact","example":{"path":{"owner":"octocat","repo":"hello-world","issue_number":1,"artifact_number":1},"body":{"name":"Revised implementation plan","body":"## Plan\n\nBuild and validate the feature."}},"maxRequests":1,"summary":false}}