Copy Google Doc
copy_documentDuplicate a Google Doc with a new title, keeping all content and formatting intact. Returns the new document ID and URL, ideal for templates or backups before major edits.
Instructions
Create a copy of an existing Google Doc with a new title (content and formatting are copied). Returns the new document’s ID and URL. Useful for templates or making a backup before large edits.
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": {
"documentId": "<documentId>",
"newTitle": "<newTitle>"
},
"name": "copy_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newTitle | Yes | Title for the copy. | |
| documentId | Yes | The Google Docs document ID (the part between /d/ and /edit in the document URL). A full Google Docs URL is also accepted. |