clear_doc
Delete all content from the document body.
destructiveGoogle Sheets, Docs & Drive
The final trailing newline is preserved (Docs API requirement).
Call it
In an AI client (MCP)
{
"name": "clear_doc",
"arguments": {
"documentId": "<documentId>"
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/clear_doc \
-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:
- { cleared: bool }