get_doc_metadata
Get document title, revisionId, and documentStyle.
readGoogle Sheets, Docs & Drive
Call it
In an AI client (MCP)
{
"name": "get_doc_metadata",
"arguments": {
"documentId": "<documentId>"
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/get_doc_metadata \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"documentId":"<documentId>"}'Early access — the Tool API is open on request, contact us.
Arguments
| Name | Type | Description |
|---|---|---|
documentIdrequired | string | the Google Docs document ID. |
Result
Every tool answers {notification, data, human_action}; data carries:
- { documentId, title, revisionId, documentStyle }