create_doc_in_folder

Create a new blank Google Doc inside a Drive folder.

writeGoogle Sheets, Docs & Drive

Call it

In an AI client (MCP)

tools/call
{
  "name": "create_doc_in_folder",
  "arguments": {
    "title": "<title>",
    "folderId": "<folderId>"
  }
}

From code (Tool API)

curl -X POST https://api.sellersheetai.com/api/v1/tools/create_doc_in_folder \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"<title>","folderId":"<folderId>"}'
Early access — the Tool API is open on request, contact us.

Arguments

NameTypeDescription
titlerequiredstringDocument title.
folderIdrequiredstringa Drive folder SellerSheet can write to — e.g. get_user_context's data.workspace_config.userSettingByFolder.sellerSheetFolderId (writable when data.workspace_config.sa_folder_access.ok is true).

Result

Every tool answers {notification, data, human_action}; data carries:

  • { documentId: str, url: str }

Example

create_doc_in_folder(title="Q1 Brand Brief", folderId="1ABC...")

On this page

Actions

View as Markdown

Ask an assistant

Ask ChatGPTAsk Claude