Merge branch 'main' of github.com:taylorwilsdon/google_workspace_mcp into feat/chat-attachment-download

This commit is contained in:
Taylor Wilsdon
2026-02-19 09:41:06 -05:00
7 changed files with 793 additions and 1 deletions

View File

@@ -195,7 +195,7 @@ async def _read_comments_impl(service, app_name: str, file_id: str) -> str:
service.comments()
.list(
fileId=file_id,
fields="comments(id,content,author,createdTime,modifiedTime,resolved,replies(content,author,id,createdTime,modifiedTime))",
fields="comments(id,content,author,createdTime,modifiedTime,resolved,quotedFileContent,replies(content,author,id,createdTime,modifiedTime))",
)
.execute
)
@@ -215,9 +215,13 @@ async def _read_comments_impl(service, app_name: str, file_id: str) -> str:
comment_id = comment.get("id", "")
status = " [RESOLVED]" if resolved else ""
quoted_text = comment.get("quotedFileContent", {}).get("value", "")
output.append(f"Comment ID: {comment_id}")
output.append(f"Author: {author}")
output.append(f"Created: {created}{status}")
if quoted_text:
output.append(f"Quoted text: {quoted_text}")
output.append(f"Content: {content}")
# Add replies if any

View File

@@ -66,6 +66,7 @@ docs:
- list_docs_in_folder
- insert_doc_elements
- update_paragraph_style
- get_doc_as_markdown
complete:
- insert_doc_image
- update_doc_headers_footers