Edit document
edit_documentChange an uploaded Word, PowerPoint, Excel, or PDF file as instructed, altering only what you ask while keeping the rest identical. Returns the new file and a report listing every change.
Instructions
Change an uploaded Word, PowerPoint, Excel or PDF file as asked (e.g. 'blue headings and add a confidentiality clause'). Only what is asked changes; the rest stays identical. Returns the new file; get_report lists every change, with the text before and after.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | From upload_file, or the id of a document Doconda made (list_documents). | |
| quality | No | Optional. fast: the cheapest and quickest (about a minute), any style, but it can't copy a file's design. standard: more care, takes minutes. best: the highest quality and price, e.g. to copy a file's design or to edit with comments or tracked changes. auto (default): Doconda picks the level the request needs. The price of the highest level it may use is held from the balance while the document is made and what is not used is returned: with a low balance, pick fast or set max_quality. | |
| max_quality | No | Only with quality auto: the highest level Doconda may choose. It caps the price and the amount held, e.g. standard. | |
| instructions | Yes | What to change, in the user's words. |