{"tools":[{"name":"get_identity","title":"Current account","description":"Returns the connected account and selected publishing handle. Account sign-in and creation use browser-based OAuth.","inputSchema":{"type":"object","properties":{"handle":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"}},"required":[],"additionalProperties":false},"outputSchema":{"type":"object","oneOf":[{"type":"object","properties":{"email":{"type":"string","minLength":1,"maxLength":254},"handles":{"type":"array","items":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"}},"defaultHandle":{"anyOf":[{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"},{"type":"null"}]}},"required":["email","handles","defaultHandle"],"additionalProperties":false},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":4000},"status":{"anyOf":[{"type":"integer","minimum":100,"maximum":599},{"type":"null"}]},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":true}},"required":["code","message","status","retryable"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}]},"annotations":{"title":"Current account","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"securitySchemes":[{"type":"oauth2","scopes":["artifacts:read"]}],"_meta":{"securitySchemes":[{"type":"oauth2","scopes":["artifacts:read"]}]}},{"name":"list_artifacts","title":"List artifacts","description":"Find your artifacts by title or slug. Returns bounded current summaries, with no readership or history data.","inputSchema":{"type":"object","properties":{"handle":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"},"query":{"type":"string","minLength":1,"maxLength":200},"offset":{"type":"integer","minimum":0,"default":0},"limit":{"type":"integer","minimum":1,"maximum":100,"default":30}},"required":[],"additionalProperties":false},"outputSchema":{"type":"object","oneOf":[{"type":"object","properties":{"artifacts":{"type":"array","items":{"type":"object","properties":{"handle":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"},"slug":{"type":"string","minLength":1,"maxLength":63,"pattern":"^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$","description":"The artifact's name, used to reference it in later calls. Not a shareable link."},"url":{"type":"string","minLength":1,"maxLength":2048,"description":"The link to give readers. Share it exactly as returned; never build a link from handle and slug."},"title":{"type":"string","maxLength":160},"version":{"type":"integer","minimum":1},"revision":{"type":"string","minLength":1,"maxLength":28,"pattern":"^ver_[a-f0-9]{24}$","description":"Opaque revision returned by a current read or inspection; identifies the artifact and exact stored version."},"visibility":{"type":"string","enum":["private","guests","link","public","restricted"],"description":"restricted reports existing domain-based access. It is not owner-only private access or a selectable visibility; updates preserve its access rules unless set_access explicitly changes visibility."},"bytes":{"type":"integer","minimum":0},"requireEmail":{"type":"string","enum":["none","capture","verified"]},"comments":{"type":"boolean"}},"required":["handle","slug","url","title","version","revision","visibility","bytes"],"additionalProperties":false},"maxItems":100},"nextOffset":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}},"required":["artifacts","nextOffset"],"additionalProperties":false},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":4000},"status":{"anyOf":[{"type":"integer","minimum":100,"maximum":599},{"type":"null"}]},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":true}},"required":["code","message","status","retryable"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}]},"annotations":{"title":"List artifacts","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"securitySchemes":[{"type":"oauth2","scopes":["artifacts:read"]}],"_meta":{"securitySchemes":[{"type":"oauth2","scopes":["artifacts:read"]}]}},{"name":"get_artifact","title":"Inspect artifact","description":"Returns current metadata, file inventory, sharing settings and revision for one artifact.","inputSchema":{"type":"object","properties":{"artifact":{"type":"string","minLength":1,"maxLength":2048,"description":"The artifact's slug (its name) with the selected handle, handle/slug, or a url Send Artifact returned for it."},"handle":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"}},"required":["artifact"],"additionalProperties":false},"outputSchema":{"type":"object","oneOf":[{"type":"object","properties":{"handle":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"},"slug":{"type":"string","minLength":1,"maxLength":63,"pattern":"^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$","description":"The artifact's name, used to reference it in later calls. Not a shareable link."},"url":{"type":"string","minLength":1,"maxLength":2048,"description":"The link to give readers. Share it exactly as returned; never build a link from handle and slug."},"title":{"type":"string","maxLength":160},"version":{"type":"integer","minimum":1},"revision":{"type":"string","minLength":1,"maxLength":28,"pattern":"^ver_[a-f0-9]{24}$","description":"Opaque revision returned by a current read or inspection; identifies the artifact and exact stored version."},"visibility":{"type":"string","enum":["private","guests","link","public","restricted"],"description":"restricted reports existing domain-based access. It is not owner-only private access or a selectable visibility; updates preserve its access rules unless set_access explicitly changes visibility."},"bytes":{"type":"integer","minimum":0},"requireEmail":{"type":"string","enum":["none","capture","verified"]},"comments":{"type":"boolean"},"entryFile":{"type":"string","minLength":1,"description":"Relative path inside the static bundle; existing service path and file-type restrictions apply."},"files":{"type":"array","items":{"type":"string","minLength":1,"description":"Relative path inside the static bundle; existing service path and file-type restrictions apply."}},"grants":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["email","domain"]},"value":{"type":"string","minLength":1}},"required":["kind","value"],"additionalProperties":false}},"sourceUrl":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"sourceCapturedAt":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]}},"required":["handle","slug","url","title","version","revision","visibility","bytes","entryFile","files","grants","requireEmail","comments"],"additionalProperties":false},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":4000},"status":{"anyOf":[{"type":"integer","minimum":100,"maximum":599},{"type":"null"}]},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":true}},"required":["code","message","status","retryable"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}]},"annotations":{"title":"Inspect artifact","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"securitySchemes":[{"type":"oauth2","scopes":["artifacts:read"]}],"_meta":{"securitySchemes":[{"type":"oauth2","scopes":["artifacts:read"]}]}},{"name":"read_artifact","title":"Read artifact content","description":"Returns a segment of one current artifact file without the injected comment bridge. Continuations require expectedRevision; historical versions are not available.","inputSchema":{"type":"object","properties":{"artifact":{"type":"string","minLength":1,"maxLength":2048,"description":"The artifact's slug (its name) with the selected handle, handle/slug, or a url Send Artifact returned for it."},"handle":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"},"path":{"type":"string","minLength":1,"description":"Relative path inside the static bundle; existing service path and file-type restrictions apply."},"encoding":{"type":"string","enum":["utf8","base64"],"default":"utf8"},"offset":{"type":"integer","minimum":0,"default":0},"limit":{"type":"integer","minimum":1,"maximum":32768,"default":12000},"expectedRevision":{"type":"string","minLength":1,"maxLength":28,"pattern":"^ver_[a-f0-9]{24}$","description":"Opaque revision returned by a current read or inspection; identifies the artifact and exact stored version."}},"required":["artifact"],"additionalProperties":false,"allOf":[{"if":{"properties":{"offset":{"minimum":1}},"required":["offset"]},"then":{"required":["expectedRevision"]}}]},"outputSchema":{"type":"object","oneOf":[{"type":"object","properties":{"handle":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"},"slug":{"type":"string","minLength":1,"maxLength":63,"pattern":"^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$","description":"The artifact's name, used to reference it in later calls. Not a shareable link."},"url":{"type":"string","minLength":1,"maxLength":2048,"description":"The link to give readers. Share it exactly as returned; never build a link from handle and slug."},"title":{"type":"string","maxLength":160},"version":{"type":"integer","minimum":1},"revision":{"type":"string","minLength":1,"maxLength":28,"pattern":"^ver_[a-f0-9]{24}$","description":"Opaque revision returned by a current read or inspection; identifies the artifact and exact stored version."},"visibility":{"type":"string","enum":["private","guests","link","public","restricted"],"description":"restricted reports existing domain-based access. It is not owner-only private access or a selectable visibility; updates preserve its access rules unless set_access explicitly changes visibility."},"bytes":{"type":"integer","minimum":0},"requireEmail":{"type":"string","enum":["none","capture","verified"]},"comments":{"type":"boolean"},"path":{"type":"string","minLength":1,"description":"Relative path inside the static bundle; existing service path and file-type restrictions apply."},"encoding":{"type":"string","enum":["utf8","base64"]},"content":{"type":"string","maxLength":32768},"nextOffset":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}},"required":["handle","slug","url","title","version","revision","visibility","bytes","path","encoding","content","nextOffset"],"additionalProperties":false},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":4000},"status":{"anyOf":[{"type":"integer","minimum":100,"maximum":599},{"type":"null"}]},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":true}},"required":["code","message","status","retryable"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}]},"annotations":{"title":"Read artifact content","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"securitySchemes":[{"type":"oauth2","scopes":["artifacts:read"]}],"_meta":{"securitySchemes":[{"type":"oauth2","scopes":["artifacts:read"]}]}},{"name":"publish_artifact","title":"Publish artifact","description":"Creates a temporary artifact or creates or updates an account artifact from complete static HTML or a complete file bundle. Account creation defaults private; updates require baseRevision and preserve settings. Share the returned url exactly as given. Temporary publication returns a seven-day share URL and a separate private claim link, which the user opens in a browser to keep the artifact. The server does not fetch local paths or URLs. Artifacts and uploaded files are not intended for protected health information, government identifiers, payment-card data, biometric identifiers, passwords, API keys, or authentication codes.","inputSchema":{"type":"object","properties":{"destination":{"type":"string","enum":["account","temporary"]},"html":{"type":"string","minLength":1,"maxLength":26214400,"description":"Complete HTML. The decoded-byte limit still applies; stored as index.html, or the existing sole HTML path on update."},"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1,"description":"Relative path inside the static bundle; existing service path and file-type restrictions apply."},"content":{"type":"string","maxLength":34952536},"encoding":{"type":"string","enum":["utf8","base64"]}},"required":["path","content","encoding"],"additionalProperties":false},"maxItems":1000,"minItems":1,"description":"Entire replacement bundle including unchanged assets. Aggregate decoded bytes <=25 MiB; JSON request <=40 MiB."},"title":{"type":"string","minLength":1,"maxLength":160},"artifact":{"type":"string","minLength":1,"maxLength":2048,"description":"The artifact's slug (its name) with the selected handle, handle/slug, or a url Send Artifact returned for it."},"handle":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"},"baseRevision":{"type":"string","minLength":1,"maxLength":28,"pattern":"^ver_[a-f0-9]{24}$","description":"Opaque revision returned by a current read or inspection; identifies the artifact and exact stored version."},"allowRemoveFiles":{"type":"boolean","default":false},"visibility":{"type":"string","enum":["private","guests","link","public"]},"comments":{"type":"boolean"},"sourceUrl":{"type":"string","minLength":1,"maxLength":2048},"sourceCapturedAt":{"type":"string","minLength":1,"maxLength":100}},"required":["destination"],"additionalProperties":false,"allOf":[{"oneOf":[{"required":["html"],"not":{"required":["files"]}},{"required":["files"],"not":{"required":["html"]}}]},{"if":{"properties":{"destination":{"type":"string","const":"account"}},"required":["destination"]},"then":{"required":["artifact"]},"else":{"not":{"anyOf":[{"required":["artifact"]},{"required":["handle"]},{"required":["baseRevision"]},{"required":["allowRemoveFiles"]},{"required":["visibility"]},{"required":["comments"]},{"required":["sourceUrl"]},{"required":["sourceCapturedAt"]}]}}},{"if":{"required":["baseRevision"]},"then":{"not":{"anyOf":[{"required":["visibility"]},{"required":["comments"]}]}}}]},"outputSchema":{"type":"object","oneOf":[{"type":"object","oneOf":[{"type":"object","properties":{"handle":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"},"slug":{"type":"string","minLength":1,"maxLength":63,"pattern":"^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$","description":"The artifact's name, used to reference it in later calls. Not a shareable link."},"url":{"type":"string","minLength":1,"maxLength":2048,"description":"The link to give readers. Share it exactly as returned; never build a link from handle and slug."},"title":{"type":"string","maxLength":160},"version":{"type":"integer","minimum":1},"revision":{"type":"string","minLength":1,"maxLength":28,"pattern":"^ver_[a-f0-9]{24}$","description":"Opaque revision returned by a current read or inspection; identifies the artifact and exact stored version."},"visibility":{"type":"string","enum":["private","guests","link","public","restricted"],"description":"restricted reports existing domain-based access. It is not owner-only private access or a selectable visibility; updates preserve its access rules unless set_access explicitly changes visibility."},"bytes":{"type":"integer","minimum":0},"requireEmail":{"type":"string","enum":["none","capture","verified"]},"comments":{"type":"boolean"},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["root-relative-url","base-tag","more"]},"path":{"type":"string","minLength":1,"description":"Relative path inside the static bundle; existing service path and file-type restrictions apply."},"count":{"type":"integer","minimum":1},"sample":{"type":"string","minLength":1,"maxLength":240}},"required":["code"],"additionalProperties":false},"maxItems":21},"warning":{"type":"string","minLength":1,"maxLength":4000}},"required":["handle","slug","url","title","version","revision","visibility","bytes"],"additionalProperties":false},{"type":"object","properties":{"url":{"type":"string","minLength":1,"maxLength":2048},"claimUrl":{"type":"string","minLength":1,"maxLength":2048},"expiresAt":{"type":"string","minLength":1,"maxLength":100},"version":{"type":"integer","minimum":1},"title":{"type":"string","minLength":1,"maxLength":160},"bytes":{"type":"integer","minimum":0},"guidance":{"type":"string","minLength":1,"maxLength":4000},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["root-relative-url","base-tag","more"]},"path":{"type":"string","minLength":1,"description":"Relative path inside the static bundle; existing service path and file-type restrictions apply."},"count":{"type":"integer","minimum":1},"sample":{"type":"string","minLength":1,"maxLength":240}},"required":["code"],"additionalProperties":false},"maxItems":21}},"required":["url","claimUrl","expiresAt","version","title","bytes","guidance"],"additionalProperties":false}]},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":4000},"status":{"anyOf":[{"type":"integer","minimum":100,"maximum":599},{"type":"null"}]},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":true}},"required":["code","message","status","retryable"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}]},"annotations":{"title":"Publish artifact","readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":true},"securitySchemes":[{"type":"noauth"},{"type":"oauth2","scopes":["artifacts:write"]}],"_meta":{"securitySchemes":[{"type":"noauth"},{"type":"oauth2","scopes":["artifacts:write"]}]}},{"name":"set_access","title":"Change artifact access","description":"Changes supplied sharing settings. Omitted settings remain unchanged; supplied grants replace the entire list, and an empty grants list clears it.","inputSchema":{"type":"object","properties":{"artifact":{"type":"string","minLength":1,"maxLength":2048,"description":"The artifact's slug (its name) with the selected handle, handle/slug, or a url Send Artifact returned for it."},"handle":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"},"visibility":{"type":"string","enum":["private","guests","link","public"]},"grants":{"type":"array","items":{"type":"string","minLength":1,"maxLength":254},"maxItems":100},"requireEmail":{"type":"string","enum":["none","capture","verified"]},"comments":{"type":"boolean"}},"required":["artifact"],"additionalProperties":false,"anyOf":[{"required":["visibility"]},{"required":["grants"]},{"required":["requireEmail"]},{"required":["comments"]}]},"outputSchema":{"type":"object","oneOf":[{"type":"object","properties":{"handle":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"},"slug":{"type":"string","minLength":1,"maxLength":63,"pattern":"^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$","description":"The artifact's name, used to reference it in later calls. Not a shareable link."},"url":{"type":"string","minLength":1,"maxLength":2048,"description":"The link to give readers. Share it exactly as returned; never build a link from handle and slug."},"title":{"type":"string","maxLength":160},"version":{"type":"integer","minimum":1},"revision":{"type":"string","minLength":1,"maxLength":28,"pattern":"^ver_[a-f0-9]{24}$","description":"Opaque revision returned by a current read or inspection; identifies the artifact and exact stored version."},"visibility":{"type":"string","enum":["private","guests","link","public","restricted"],"description":"restricted reports existing domain-based access. It is not owner-only private access or a selectable visibility; updates preserve its access rules unless set_access explicitly changes visibility."},"bytes":{"type":"integer","minimum":0},"requireEmail":{"type":"string","enum":["none","capture","verified"]},"comments":{"type":"boolean"},"grants":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["email","domain"]},"value":{"type":"string","minLength":1}},"required":["kind","value"],"additionalProperties":false}}},"required":["handle","slug","url","title","version","revision","visibility","bytes","grants","requireEmail","comments"],"additionalProperties":false},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":4000},"status":{"anyOf":[{"type":"integer","minimum":100,"maximum":599},{"type":"null"}]},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":true}},"required":["code","message","status","retryable"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}]},"annotations":{"title":"Change artifact access","readOnlyHint":false,"destructiveHint":true,"idempotentHint":true,"openWorldHint":true},"securitySchemes":[{"type":"oauth2","scopes":["artifacts:access"]}],"_meta":{"securitySchemes":[{"type":"oauth2","scopes":["artifacts:access"]}]}},{"name":"get_comments","title":"Read feedback","description":"Returns full comment bodies, anchors and replies. Pagination covers additional threads and replies; a commentId selects one thread regardless of status. Results are bounded to 64 KiB.","inputSchema":{"type":"object","properties":{"artifact":{"type":"string","minLength":1,"maxLength":2048,"description":"The artifact's slug (its name) with the selected handle, handle/slug, or a url Send Artifact returned for it."},"handle":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"},"status":{"type":"string","enum":["open","resolved","orphaned","all"],"default":"open"},"offset":{"type":"integer","minimum":0,"default":0},"limit":{"type":"integer","minimum":1,"maximum":30,"default":10},"commentId":{"type":"string","minLength":1,"maxLength":100},"replyOffset":{"type":"integer","minimum":0,"default":0},"replyLimit":{"type":"integer","minimum":1,"maximum":20,"default":5}},"required":["artifact"],"additionalProperties":false,"allOf":[{"if":{"properties":{"replyOffset":{"minimum":1}},"required":["replyOffset"]},"then":{"required":["commentId"]}}]},"outputSchema":{"type":"object","oneOf":[{"type":"object","properties":{"threads":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"status":{"type":"string","enum":["open","resolved","orphaned"]},"version":{"type":"integer","minimum":1},"n":{"type":"integer","minimum":1},"author":{"type":"object","properties":{"name":{"type":"string"},"kind":{"type":"string","minLength":1,"maxLength":30}},"required":["name","kind"],"additionalProperties":false},"quote":{"type":"string"},"contextBefore":{"anyOf":[{"type":"string"},{"type":"null"}]},"contextAfter":{"anyOf":[{"type":"string"},{"type":"null"}]},"anchor":{},"kind":{"type":"string","minLength":1,"maxLength":30},"body":{"type":"string","minLength":1,"maxLength":4000},"createdAt":{"type":"string","minLength":1,"maxLength":100},"resolved":{"anyOf":[{"type":"object","properties":{"at":{"type":"string","minLength":1,"maxLength":100},"by":{"anyOf":[{"type":"string"},{"type":"null"}]},"version":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}]}},"required":["at","by","version"],"additionalProperties":false},{"type":"null"}]},"replies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"author":{"type":"object","properties":{"name":{"type":"string"},"kind":{"type":"string","minLength":1,"maxLength":30}},"required":["name","kind"],"additionalProperties":false},"body":{"type":"string","minLength":1,"maxLength":4000},"createdAt":{"type":"string","minLength":1,"maxLength":100}},"required":["id","author","body","createdAt"],"additionalProperties":false},"maxItems":20},"replyCount":{"type":"integer","minimum":0},"nextReplyOffset":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}},"required":["id","status","version","n","author","quote","contextBefore","contextAfter","anchor","kind","body","createdAt","resolved","replies","replyCount","nextReplyOffset"],"additionalProperties":false},"maxItems":30},"nextOffset":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}},"required":["threads","nextOffset"],"additionalProperties":false},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":4000},"status":{"anyOf":[{"type":"integer","minimum":100,"maximum":599},{"type":"null"}]},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":true}},"required":["code","message","status","retryable"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}]},"annotations":{"title":"Read feedback","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"securitySchemes":[{"type":"oauth2","scopes":["artifacts:read"]}],"_meta":{"securitySchemes":[{"type":"oauth2","scopes":["artifacts:read"]}]}},{"name":"reply_comment","title":"Reply to feedback","description":"Adds one message to an existing feedback thread without resolving or reopening it. Feedback is not intended for protected health information, government identifiers, payment-card data, biometric identifiers, passwords, API keys, or authentication codes.","inputSchema":{"type":"object","properties":{"artifact":{"type":"string","minLength":1,"maxLength":2048,"description":"The artifact's slug (its name) with the selected handle, handle/slug, or a url Send Artifact returned for it."},"handle":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"},"commentId":{"type":"string","minLength":1,"maxLength":100},"body":{"type":"string","minLength":1,"maxLength":4000,"pattern":"\\S"}},"required":["artifact","commentId","body"],"additionalProperties":false},"outputSchema":{"type":"object","oneOf":[{"type":"object","properties":{"reply":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"author":{"type":"object","properties":{"name":{"type":"string"},"kind":{"type":"string","minLength":1,"maxLength":30}},"required":["name","kind"],"additionalProperties":false},"body":{"type":"string","minLength":1,"maxLength":4000},"createdAt":{"type":"string","minLength":1,"maxLength":100}},"required":["id","author","body","createdAt"],"additionalProperties":false}},"required":["reply"],"additionalProperties":false},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":4000},"status":{"anyOf":[{"type":"integer","minimum":100,"maximum":599},{"type":"null"}]},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":true}},"required":["code","message","status","retryable"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}]},"annotations":{"title":"Reply to feedback","readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":true},"securitySchemes":[{"type":"oauth2","scopes":["comments:write"]}],"_meta":{"securitySchemes":[{"type":"oauth2","scopes":["comments:write"]}]}},{"name":"resolve_comment","title":"Resolve feedback","description":"Marks a feedback thread resolved without adding a message. An already-resolved thread remains unchanged.","inputSchema":{"type":"object","properties":{"artifact":{"type":"string","minLength":1,"maxLength":2048,"description":"The artifact's slug (its name) with the selected handle, handle/slug, or a url Send Artifact returned for it."},"handle":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"},"commentId":{"type":"string","minLength":1,"maxLength":100}},"required":["artifact","commentId"],"additionalProperties":false},"outputSchema":{"type":"object","oneOf":[{"type":"object","properties":{"commentId":{"type":"string","minLength":1,"maxLength":100},"status":{"type":"string","const":"resolved"}},"required":["commentId","status"],"additionalProperties":false},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":4000},"status":{"anyOf":[{"type":"integer","minimum":100,"maximum":599},{"type":"null"}]},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":true}},"required":["code","message","status","retryable"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}]},"annotations":{"title":"Resolve feedback","readOnlyHint":false,"destructiveHint":true,"idempotentHint":true,"openWorldHint":false},"securitySchemes":[{"type":"oauth2","scopes":["comments:write"]}],"_meta":{"securitySchemes":[{"type":"oauth2","scopes":["comments:write"]}]}},{"name":"delete_artifact","title":"Delete artifact","description":"Permanently deletes an authorized artifact when confirm is true.","inputSchema":{"type":"object","properties":{"artifact":{"type":"string","minLength":1,"maxLength":2048,"description":"The artifact's slug (its name) with the selected handle, handle/slug, or a url Send Artifact returned for it."},"handle":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"},"confirm":{"type":"boolean","const":true}},"required":["artifact","confirm"],"additionalProperties":false},"outputSchema":{"type":"object","oneOf":[{"type":"object","properties":{"handle":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"},"slug":{"type":"string","minLength":1,"maxLength":63,"pattern":"^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"deleted":{"type":"boolean","const":true}},"required":["handle","slug","deleted"],"additionalProperties":false},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"message":{"type":"string","minLength":1,"maxLength":4000},"status":{"anyOf":[{"type":"integer","minimum":100,"maximum":599},{"type":"null"}]},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":true}},"required":["code","message","status","retryable"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}]},"annotations":{"title":"Delete artifact","readOnlyHint":false,"destructiveHint":true,"idempotentHint":true,"openWorldHint":false},"securitySchemes":[{"type":"oauth2","scopes":["artifacts:delete"]}],"_meta":{"securitySchemes":[{"type":"oauth2","scopes":["artifacts:delete"]}]}}]}