Google · Capability
Google Drive API — Replies
Google Drive API — Replies. 5 operations. Lead operation: Google Get Files Fileid Comments Commentid Replies. Self-contained Naftiko capability covering one Google business surface.
What You Can Do
GET
Googledrivereplieslist
— Google Get Files Fileid Comments Commentid Replies
/v1/files/{fileid}/comments/{commentid}/replies
POST
Googledriverepliescreate
— Google Post Files Fileid Comments Commentid Replies
/v1/files/{fileid}/comments/{commentid}/replies
GET
Googledriverepliesget
— Google Get Files Fileid Comments Commentid Replies Replyid
/v1/files/{fileid}/comments/{commentid}/replies/{replyid}
PATCH
Googledriverepliesupdate
— Google Patch Files Fileid Comments Commentid Replies Replyid
/v1/files/{fileid}/comments/{commentid}/replies/{replyid}
DELETE
Googledriverepliesdelete
— Google Delete Files Fileid Comments Commentid Replies Replyid
/v1/files/{fileid}/comments/{commentid}/replies/{replyid}
MCP Tools
google-get-files-fileid-comments
Google Get Files Fileid Comments Commentid Replies
read-only
idempotent
google-post-files-fileid-comments
Google Post Files Fileid Comments Commentid Replies
google-get-files-fileid-comments-2
Google Get Files Fileid Comments Commentid Replies Replyid
read-only
idempotent
google-patch-files-fileid-comments
Google Patch Files Fileid Comments Commentid Replies Replyid
idempotent
google-delete-files-fileid-comments
Google Delete Files Fileid Comments Commentid Replies Replyid
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Google Drive API — Replies
description: 'Google Drive API — Replies. 5 operations. Lead operation: Google Get Files Fileid Comments Commentid Replies.
Self-contained Naftiko capability covering one Google business surface.'
tags:
- Google
- Replies
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
GOOGLE_API_KEY: GOOGLE_API_KEY
capability:
consumes:
- type: http
namespace: drive-replies
baseUri: https://www.googleapis.com/drive/v3
description: Google Drive API — Replies business capability. Self-contained, no shared references.
resources:
- name: files-fileId-comments-commentId-replies
path: /files/{fileId}/comments/{commentId}/replies
operations:
- name: googledrivereplieslist
method: GET
description: Google Get Files Fileid Comments Commentid Replies
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: fileId
in: path
type: string
description: The ID of the file.
required: true
- name: commentId
in: path
type: string
description: The ID of the comment.
required: true
- name: includeDeleted
in: query
type: boolean
description: Whether to include deleted replies. Deleted replies will not include their original content.
- name: pageSize
in: query
type: integer
description: The maximum number of replies to return per page.
- name: pageToken
in: query
type: string
description: The token for continuing a previous list request on the next page. This should be set to the value
of 'nextPageToken' from the previous response.
- name: Authorization
in: header
type: string
- name: $.xgafv
in: query
type: string
description: V1 error format.
- name: access_token
in: query
type: string
description: OAuth access token.
- name: alt
in: query
type: string
description: Data format for response.
- name: callback
in: query
type: string
description: JSONP
- name: fields
in: query
type: string
description: Selector specifying which fields to include in a partial response.
- name: key
in: query
type: string
description: API key. Your API key identifies your project and provides you with API access, quota, and reports.
Required unless you provide an OAuth 2.0 token.
- name: oauth_token
in: query
type: string
description: OAuth 2.0 token for the current user.
- name: prettyPrint
in: query
type: boolean
description: Returns response with indentations and line breaks.
- name: quotaUser
in: query
type: string
description: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned
to a user, but should not exceed 40 characters.
- name: upload_protocol
in: query
type: string
description: Upload protocol for media (e.g. "raw", "multipart").
- name: uploadType
in: query
type: string
description: Legacy upload protocol for media (e.g. "media", "multipart").
- name: googledriverepliescreate
method: POST
description: Google Post Files Fileid Comments Commentid Replies
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: fileId
in: path
type: string
description: The ID of the file.
required: true
- name: commentId
in: path
type: string
description: The ID of the comment.
required: true
- name: Authorization
in: header
type: string
- name: $.xgafv
in: query
type: string
description: V1 error format.
- name: access_token
in: query
type: string
description: OAuth access token.
- name: alt
in: query
type: string
description: Data format for response.
- name: callback
in: query
type: string
description: JSONP
- name: fields
in: query
type: string
description: Selector specifying which fields to include in a partial response.
- name: key
in: query
type: string
description: API key. Your API key identifies your project and provides you with API access, quota, and reports.
Required unless you provide an OAuth 2.0 token.
- name: oauth_token
in: query
type: string
description: OAuth 2.0 token for the current user.
- name: prettyPrint
in: query
type: boolean
description: Returns response with indentations and line breaks.
- name: quotaUser
in: query
type: string
description: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned
to a user, but should not exceed 40 characters.
- name: upload_protocol
in: query
type: string
description: Upload protocol for media (e.g. "raw", "multipart").
- name: uploadType
in: query
type: string
description: Legacy upload protocol for media (e.g. "media", "multipart").
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: files-fileId-comments-commentId-replies-replyId
path: /files/{fileId}/comments/{commentId}/replies/{replyId}
operations:
- name: googledriverepliesget
method: GET
description: Google Get Files Fileid Comments Commentid Replies Replyid
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: fileId
in: path
type: string
description: The ID of the file.
required: true
- name: commentId
in: path
type: string
description: The ID of the comment.
required: true
- name: replyId
in: path
type: string
description: The ID of the reply.
required: true
- name: includeDeleted
in: query
type: boolean
description: Whether to return deleted replies. Deleted replies will not include their original content.
- name: Authorization
in: header
type: string
- name: $.xgafv
in: query
type: string
description: V1 error format.
- name: access_token
in: query
type: string
description: OAuth access token.
- name: alt
in: query
type: string
description: Data format for response.
- name: callback
in: query
type: string
description: JSONP
- name: fields
in: query
type: string
description: Selector specifying which fields to include in a partial response.
- name: key
in: query
type: string
description: API key. Your API key identifies your project and provides you with API access, quota, and reports.
Required unless you provide an OAuth 2.0 token.
- name: oauth_token
in: query
type: string
description: OAuth 2.0 token for the current user.
- name: prettyPrint
in: query
type: boolean
description: Returns response with indentations and line breaks.
- name: quotaUser
in: query
type: string
description: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned
to a user, but should not exceed 40 characters.
- name: upload_protocol
in: query
type: string
description: Upload protocol for media (e.g. "raw", "multipart").
- name: uploadType
in: query
type: string
description: Legacy upload protocol for media (e.g. "media", "multipart").
- name: googledriverepliesupdate
method: PATCH
description: Google Patch Files Fileid Comments Commentid Replies Replyid
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: fileId
in: path
type: string
description: The ID of the file.
required: true
- name: commentId
in: path
type: string
description: The ID of the comment.
required: true
- name: replyId
in: path
type: string
description: The ID of the reply.
required: true
- name: Authorization
in: header
type: string
- name: $.xgafv
in: query
type: string
description: V1 error format.
- name: access_token
in: query
type: string
description: OAuth access token.
- name: alt
in: query
type: string
description: Data format for response.
- name: callback
in: query
type: string
description: JSONP
- name: fields
in: query
type: string
description: Selector specifying which fields to include in a partial response.
- name: key
in: query
type: string
description: API key. Your API key identifies your project and provides you with API access, quota, and reports.
Required unless you provide an OAuth 2.0 token.
- name: oauth_token
in: query
type: string
description: OAuth 2.0 token for the current user.
- name: prettyPrint
in: query
type: boolean
description: Returns response with indentations and line breaks.
- name: quotaUser
in: query
type: string
description: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned
to a user, but should not exceed 40 characters.
- name: upload_protocol
in: query
type: string
description: Upload protocol for media (e.g. "raw", "multipart").
- name: uploadType
in: query
type: string
description: Legacy upload protocol for media (e.g. "media", "multipart").
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: googledriverepliesdelete
method: DELETE
description: Google Delete Files Fileid Comments Commentid Replies Replyid
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: fileId
in: path
type: string
description: The ID of the file.
required: true
- name: commentId
in: path
type: string
description: The ID of the comment.
required: true
- name: replyId
in: path
type: string
description: The ID of the reply.
required: true
- name: Authorization
in: header
type: string
- name: $.xgafv
in: query
type: string
description: V1 error format.
- name: access_token
in: query
type: string
description: OAuth access token.
- name: alt
in: query
type: string
description: Data format for response.
- name: callback
in: query
type: string
description: JSONP
- name: fields
in: query
type: string
description: Selector specifying which fields to include in a partial response.
- name: key
in: query
type: string
description: API key. Your API key identifies your project and provides you with API access, quota, and reports.
Required unless you provide an OAuth 2.0 token.
- name: oauth_token
in: query
type: string
description: OAuth 2.0 token for the current user.
- name: prettyPrint
in: query
type: boolean
description: Returns response with indentations and line breaks.
- name: quotaUser
in: query
type: string
description: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned
to a user, but should not exceed 40 characters.
- name: upload_protocol
in: query
type: string
description: Upload protocol for media (e.g. "raw", "multipart").
- name: uploadType
in: query
type: string
description: Legacy upload protocol for media (e.g. "media", "multipart").
authentication:
type: bearer
token: '{{env.GOOGLE_API_KEY}}'
exposes:
- type: rest
namespace: drive-replies-rest
port: 8080
description: REST adapter for Google Drive API — Replies. One Spectral-compliant resource per consumed operation, prefixed
with /v1.
resources:
- path: /v1/files/{fileid}/comments/{commentid}/replies
name: files-fileid-comments-commentid-replies
description: REST surface for files-fileId-comments-commentId-replies.
operations:
- method: GET
name: googledrivereplieslist
description: Google Get Files Fileid Comments Commentid Replies
call: drive-replies.googledrivereplieslist
with:
fileId: rest.fileId
commentId: rest.commentId
includeDeleted: rest.includeDeleted
pageSize: rest.pageSize
pageToken: rest.pageToken
Authorization: rest.Authorization
$.xgafv: rest.$.xgafv
access_token: rest.access_token
alt: rest.alt
callback: rest.callback
fields: rest.fields
key: rest.key
oauth_token: rest.oauth_token
prettyPrint: rest.prettyPrint
quotaUser: rest.quotaUser
upload_protocol: rest.upload_protocol
uploadType: rest.uploadType
outputParameters:
- type: object
mapping: $.
- method: POST
name: googledriverepliescreate
description: Google Post Files Fileid Comments Commentid Replies
call: drive-replies.googledriverepliescreate
with:
fileId: rest.fileId
commentId: rest.commentId
Authorization: rest.Authorization
$.xgafv: rest.$.xgafv
access_token: rest.access_token
alt: rest.alt
callback: rest.callback
fields: rest.fields
key: rest.key
oauth_token: rest.oauth_token
prettyPrint: rest.prettyPrint
quotaUser: rest.quotaUser
upload_protocol: rest.upload_protocol
uploadType: rest.uploadType
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/files/{fileid}/comments/{commentid}/replies/{replyid}
name: files-fileid-comments-commentid-replies-replyid
description: REST surface for files-fileId-comments-commentId-replies-replyId.
operations:
- method: GET
name: googledriverepliesget
description: Google Get Files Fileid Comments Commentid Replies Replyid
call: drive-replies.googledriverepliesget
with:
fileId: rest.fileId
commentId: rest.commentId
replyId: rest.replyId
includeDeleted: rest.includeDeleted
Authorization: rest.Authorization
$.xgafv: rest.$.xgafv
access_token: rest.access_token
alt: rest.alt
callback: rest.callback
fields: rest.fields
key: rest.key
oauth_token: rest.oauth_token
prettyPrint: rest.prettyPrint
quotaUser: rest.quotaUser
upload_protocol: rest.upload_protocol
uploadType: rest.uploadType
outputParameters:
- type: object
mapping: $.
- method: PATCH
name: googledriverepliesupdate
description: Google Patch Files Fileid Comments Commentid Replies Replyid
call: drive-replies.googledriverepliesupdate
with:
fileId: rest.fileId
commentId: rest.commentId
replyId: rest.replyId
Authorization: rest.Authorization
$.xgafv: rest.$.xgafv
access_token: rest.access_token
alt: rest.alt
callback: rest.callback
fields: rest.fields
key: rest.key
oauth_token: rest.oauth_token
prettyPrint: rest.prettyPrint
quotaUser: rest.quotaUser
upload_protocol: rest.upload_protocol
uploadType: rest.uploadType
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: googledriverepliesdelete
description: Google Delete Files Fileid Comments Commentid Replies Replyid
call: drive-replies.googledriverepliesdelete
with:
fileId: rest.fileId
commentId: rest.commentId
replyId: rest.replyId
Authorization: rest.Authorization
$.xgafv: rest.$.xgafv
access_token: rest.access_token
alt: rest.alt
callback: rest.callback
fields: rest.fields
key: rest.key
oauth_token: rest.oauth_token
prettyPrint: rest.prettyPrint
quotaUser: rest.quotaUser
upload_protocol: rest.upload_protocol
uploadType: rest.uploadType
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: drive-replies-mcp
port: 9090
transport: http
description: MCP adapter for Google Drive API — Replies. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: google-get-files-fileid-comments
description: Google Get Files Fileid Comments Commentid Replies
hints:
readOnly: true
destructive: false
idempotent: true
call: drive-replies.googledrivereplieslist
with:
fileId: tools.fileId
commentId: tools.commentId
includeDeleted: tools.includeDeleted
pageSize: tools.pageSize
pageToken: tools.pageToken
Authorization: tools.Authorization
$.xgafv: tools.$.xgafv
access_token: tools.access_token
alt: tools.alt
callback: tools.callback
fields: tools.fields
key: tools.key
oauth_token: tools.oauth_token
prettyPrint: tools.prettyPrint
quotaUser: tools.quotaUser
upload_protocol: tools.upload_protocol
uploadType: tools.uploadType
outputParameters:
- type: object
mapping: $.
- name: google-post-files-fileid-comments
description: Google Post Files Fileid Comments Commentid Replies
hints:
readOnly: false
destructive: false
idempotent: false
call: drive-replies.googledriverepliescreate
with:
fileId: tools.fileId
commentId: tools.commentId
Authorization: tools.Authorization
$.xgafv: tools.$.xgafv
access_token: tools.access_token
alt: tools.alt
callback: tools.callback
fields: tools.fields
key: tools.key
oauth_token: tools.oauth_token
prettyPrint: tools.prettyPrint
quotaUser: tools.quotaUser
upload_protocol: tools.upload_protocol
uploadType: tools.uploadType
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: google-get-files-fileid-comments-2
description: Google Get Files Fileid Comments Commentid Replies Replyid
hints:
readOnly: true
destructive: false
idempotent: true
call: drive-replies.googledriverepliesget
with:
fileId: tools.fileId
commentId: tools.commentId
replyId: tools.replyId
includeDeleted: tools.includeDeleted
Authorization: tools.Authorization
$.xgafv: tools.$.xgafv
access_token: tools.access_token
alt: tools.alt
callback: tools.callback
fields: tools.fields
key: tools.key
oauth_token: tools.oauth_token
prettyPrint: tools.prettyPrint
quotaUser: tools.quotaUser
upload_protocol: tools.upload_protocol
uploadType: tools.uploadType
outputParameters:
- type: object
mapping: $.
- name: google-patch-files-fileid-comments
description: Google Patch Files Fileid Comments Commentid Replies Replyid
hints:
readOnly: false
destructive: false
idempotent: true
call: drive-replies.googledriverepliesupdate
with:
fileId: tools.fileId
commentId: tools.commentId
replyId: tools.replyId
Authorization: tools.Authorization
$.xgafv: tools.$.xgafv
access_token: tools.access_token
alt: tools.alt
callback: tools.callback
fields: tools.fields
key: tools.key
oauth_token: tools.oauth_token
prettyPrint: tools.prettyPrint
quotaUser: tools.quotaUser
upload_protocol: tools.upload_protocol
uploadType: tools.uploadType
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: google-delete-files-fileid-comments
description: Google Delete Files Fileid Comments Commentid Replies Replyid
hints:
readOnly: false
destructive: true
idempotent: true
call: drive-replies.googledriverepliesdelete
with:
fileId: tools.fileId
commentId: tools.commentId
replyId: tools.replyId
Authorization: tools.Authorization
$.xgafv: tools.$.xgafv
access_token: tools.access_token
alt: tools.alt
callback: tools.callback
fields: tools.fields
key: tools.key
oauth_token: tools.oauth_token
prettyPrint: tools.prettyPrint
quotaUser: tools.quotaUser
upload_protocol: tools.upload_protocol
uploadType: tools.uploadType
outputParameters:
- type: object
mapping: $.