Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
---
title: RenameDocument
description: >-
Rename a document.
---
# RenameDocument
Rename a document. Requires edit access to the document.
## Parameters
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `documentId` | string | Yes | The id of the document you want to rename. |
| `documentName` | string | Yes | The new name for the document without the file extension. |