Skip to content
DEConsole
DEVELOPERS / DEVELOPERS
View as MarkdownDownload Markdown
Open in ChatGPTOpen in Claude

Page unavailable? Copy its Markdown and paste it into your chat.

remove_inbox_attachment

Behavior, inputs, outputs and permissions for remove_inbox_attachment.

Reviewed · 2026-10-06 / Ridian

This reference is generated from the published tool contract.

Permanently removes one ready, failed or unfinished attachment from a draft only when expectedRevision matches. Cancels pending attachment work, deletes stored bytes and releases reserved storage once. Returns the new draft revision. Does not remove attachments from queued or sent mail. On conflict or an uncertain response, list attachments and read the current draft before deciding again.

Granted scopes, accounts, calendars and visibility rules limit access. Workspace administrators do not automatically gain access to other users’ accounts.

inbox:write

Consent and boundaries

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"id",
"expectedRevision"
],
"additionalProperties": false
}
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"revision"
],
"additionalProperties": false
}

Check the tool result for errors. Do not blindly retry writes after a timeout. Check the current resource or send status first.

Error handling

RIDIAN

Ask the docs

Enter to send · ⇧ Enter for new line

No passwords or calendar contents. Check AI answers against their sources. AI & privacy