@piotr-agier/google-drive-mcp 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5121,8 +5121,8 @@ Image URL: ${imageUrl}` }],
5121
5121
  const docs = ctx.google.docs({ version: "v1", auth: ctx.authClient });
5122
5122
  await docs.documents.batchUpdate({
5123
5123
  documentId: a.documentId,
5124
- // createTab is not yet in the googleapis TypeScript types — cast required
5125
- requestBody: { requests: [{ createTab: { tabProperties: { title: a.title } } }] }
5124
+ // addDocumentTab is not yet in the googleapis TypeScript types — cast required
5125
+ requestBody: { requests: [{ addDocumentTab: { tabProperties: { title: a.title } } }] }
5126
5126
  });
5127
5127
  return { content: [{ type: "text", text: `Requested creation of tab "${a.title}" in document ${a.documentId}.` }], isError: false };
5128
5128
  }
@@ -5133,8 +5133,8 @@ Image URL: ${imageUrl}` }],
5133
5133
  const docs = ctx.google.docs({ version: "v1", auth: ctx.authClient });
5134
5134
  await docs.documents.batchUpdate({
5135
5135
  documentId: a.documentId,
5136
- // updateTabProperties is not yet in the googleapis TypeScript types — cast required
5137
- requestBody: { requests: [{ updateTabProperties: { tabId: a.tabId, tabProperties: { title: a.title }, fields: "title" } }] }
5136
+ // updateDocumentTabProperties is not yet in the googleapis TypeScript types — cast required
5137
+ requestBody: { requests: [{ updateDocumentTabProperties: { tabId: a.tabId, tabProperties: { title: a.title }, fields: "title" } }] }
5138
5138
  });
5139
5139
  return { content: [{ type: "text", text: `Renamed tab ${a.tabId} to "${a.title}".` }], isError: false };
5140
5140
  }