Skip to main content

Drive Update Comment

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

DESTRUCTIVEgoogle.drive_update_comment
  • Contract tier: agent_ready
  • Risk: destructive
  • Catalog version: google-2026.07.12.2
  • Descriptor hash: 5d505de7e0ca7e8d3e5c00a3fec2ca6656de666379ad8c8b6ac26dfb17d219d5

Update a Drive file comment. It can overwrite, send, move, remove, or permanently delete Google data. Use it only after preview and the manifest-defined confirmation; it requires per-request Google OAuth.

Request Body

{
"jsonrpc": "2.0",
"id": "google-drive-update-comment-example",
"method": "tools/call",
"params": {
"name": "google.drive_update_comment",
"arguments": {
"file_id": "file_id_123",
"comment_id": "comment_id_123",
"content": "content_example",
"confirm": false
}
}
}

Arguments Schema

{
"type": "object",
"title": "drive_update_commentArguments",
"required": [
"file_id",
"comment_id",
"content"
],
"properties": {
"confirm": {
"type": "boolean",
"title": "Confirm",
"default": false,
"description": "Required true for high-risk operations when confirmation is enforced."
},
"content": {
"type": "string",
"title": "Content",
"description": "Text or base64 content for direct uploads. Leave empty for resumable sessions."
},
"file_id": {
"type": "string",
"title": "File Id",
"description": "Google Drive file ID."
},
"comment_id": {
"type": "string",
"title": "Comment Id",
"description": "Google Drive comment ID."
}
},
"additionalProperties": false
}

Output Schema

{
"type": "object",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the local or Google provider operation completed successfully."
},
"data": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Bounded local navigation or Google provider result when ok is true."
},
"meta": {
"type": "object",
"description": "Safe timing, pagination, cache, request, and truncation metadata.",
"additionalProperties": true
},
"error": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "Safe structured error when ok is false."
}
},
"description": "Google MCP normalized operation envelope.",
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "google-drive-update-comment-example",
"method": "tools/call",
"params": {
"name": "google.drive_update_comment",
"arguments": {
"file_id": "file_id_123",
"comment_id": "comment_id_123",
"content": "content_example",
"confirm": false
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool google.drive_update_comment executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}