Gmail update draft

gmail__update_draft

Access

Requires a project integration connection for gmail.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
draftIdstringYesDraft resource ID from the result's top-level id, not message.id.
messageobjectYesMessage object with raw MIME text in raw; Veryfront base64url-encodes it. Optional threadId.

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "gmail__update_draft",
    "arguments": {
      "draftId": "example",
      "message": {}
    }
  }
}

Result

No output schema is published for this tool. The input contract does not define its return fields. Inspect the MCP response content and isError; do not assume a fixed object shape. See the gmail integration reference for provider setup and tool context.

Full schemas

json
{
  "type": "object",
  "properties": {
    "draftId": {
      "type": "string",
      "description": "Draft resource ID from the result's top-level id, not message.id."
    },
    "message": {
      "type": "object",
      "description": "Message object with raw MIME text in raw; Veryfront base64url-encodes it. Optional threadId."
    }
  },
  "required": [
    "draftId",
    "message"
  ],
  "description": "Arguments for the gmail__update_draft tool."
}