drive_create_doc
Create a new Google Doc (or Sheet, with kind='sheet') inside a folder of a Shared Drive that is registered for this workspace, optionally with starting text. In a folder of someone's My Drive the file is made through the workspace's Google Workspace integration (it needs one connected) and moved into the folder.
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": {
"name": "<name>",
"folder": "<folder>"
},
"name": "drive_create_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | doc (default) or sheet. | doc |
| name | Yes | Name of the new file. | |
| text | No | Starting text (documents only). | |
| folder | Yes | Drive id or pasted link of the folder to create it in. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |