edit_document
Edit an existing ProductNow document. This is the only tool that changes a document's content. It does not apply your edit directly: it hands message to the document's own editing agent, which reads the document and makes the change. Write message as instructions to that agent, not as the new document text. Name the section, say exactly what to add, replace, or remove, and quote text verbatim when the wording must be preserved. Include everything the agent needs, since it cannot see this conversation and will not ask follow-up questions. Returns before the edit finishes; poll get_status until status is idle (it stays running while any edit you sent is queued or in progress), then read the document to confirm the result. Do not use create_document — that creates a new document. Do not use rename — that only changes a name. Do not use reply_to_thread — that only adds discussion and never changes content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Instructions for the document's editing agent. Name the section and the change, and include any context the agent needs (e.g., 'In Executive Summary, replace the second paragraph with: …'). | |
| documentId | Yes | The ID of the document to edit. Resolve it with search or fetch first. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes |