gmail_remove_attachment
Remove an attachment from a Gmail draft by its attachment ID, preserving the body, subject, and recipients.
Instructions
Remove one file from a Gmail draft by its attachment_id and return the draft's remaining attachment list. Only the attachments change - body, subject, and recipients are preserved exactly. The attachment_id comes from any prior draft response or gmail_get_draft.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"draft_id": "<draft_id>",
"attachment_id": "<attachment_id>"
},
"name": "gmail_remove_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | ||
| draft_id | Yes | ||
| attachment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | ||
| attachments | No |