document_save
Saves the active or specified Fusion 360 document as a new version, or completes its first save with a required name; cloud upload continues in the background.
Instructions
Call ONLY when the user explicitly asked to save the document.
An already saved document gets a new version (name/folder_path are rejected:
no Save As). A never-saved document needs name and is saved into the active
project's root folder or the existing folder_path (missing folders are
ENTITY_NOT_FOUND and never created). The upload to the cloud continues in the
background ("upload": "pending").
Returns the document's info (see document_list) plus "upload": "pending".
Examples: document_save(name="Bracket"); document_save(description="hole moved").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the first save of an unsaved document | |
| document | No | Document ref from document_list; default: the active document | |
| description | No | Version description | |
| folder_path | No | Existing folder in the active project, e.g. 'Parts/Brackets'; default: the project's root folder |