{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Marks a thread read or unread, or moves it to a folder. At least one of `read` or `folder` is required. To change the labels of a thread, use the add, set, and remove thread labels endpoints. This endpoint ignores the removed `add_label_ids` and `remove_label_ids` fields, so a body with only those fields returns a 422 validation_error. Moving a thread out of `trash` restores it and clears its deletion deadline. The changes apply in this order: `read`, then `folder`. They are not atomic.","properties":{"path":{"type":"object","properties":{"inbox_id":{"type":"string","examples":["b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"],"description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any other value must be a UUID, or the request returns a 422. The address match is case-insensitive and never falls back to the inbox `name`. An address that matches no inbox returns a 404."},"thread_id":{"type":"string","format":"uuid","description":"The Thread ID."}},"required":["inbox_id","thread_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/UpdateInboxThreadOptions"}},"required":["path","body"],"additionalProperties":false,"definitions":{"UpdateInboxThreadOptions":{"type":"object","description":"At least one of `read` or `folder` is required. Use the thread labels endpoints to change labels.","anyOf":[{"required":["read"]},{"required":["folder"]}],"properties":{"read":{"type":"boolean","description":"Marks every email in the thread read or unread.","examples":[true]},"folder":{"type":"string","enum":["inbox","archive","spam","trash"],"description":"Moves the thread to this folder. `sent` is assigned automatically and cannot be set.","examples":["archive"]}}}}},"name":"Update an existing inbox thread","id":"resend.inboxes.update-thread","example":{"path":{"inbox_id":"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1","thread_id":"00000000-0000-4000-8000-000000000000"},"body":{"read":true}},"maxRequests":1,"summary":false}}