docs_create_document
Create a new Google Doc in My Drive with optional initial text content, and receive its ID and URL for immediate use.
Instructions
Create a new Google Doc, optionally with initial plain-text content.
The new file lands in the account's 'My Drive' root.
Returns:
str: JSON with document_id, title, and 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": {
"params": "<params>"
},
"name": "docs_create_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |