docs_create_doc
Creates a Google Doc with a title and formatted content blocks, returning the document URL.
Instructions
Creates a new Google Doc owned by the service account and writes formatted content into its default tab.
title: Document title blocks: JSON array of content blocks (same format as docs_add_tab)
Returns the document URL.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"blocks": "<blocks>"
},
"name": "docs_create_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| blocks | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |