gws-mcp__docs_write
Insert text at the beginning of a Google Doc. To append or edit at a specific position, use docs_get (mode 'index') then docs_batch_update.
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": {
"document_id": "<document_id>",
"text": "<text>"
},
"name": "gws-mcp__docs_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text content to write to the document | |
| account | No | Optional email address of the connected account to use (e.g. 'user@gmail.com'). If omitted, the default account is used. | |
| content | No | The same as text, under another name. Give text or content, not both. The answer names it under aliased. | |
| document_id | Yes | The Google Docs document ID |