Save Manic file to the user's project
manic_save_to_projectSave .manic source files to your default Manic project for use in Manic Create and Workbench. Overwriting an existing path creates a new revision.
Instructions
Saves .manic source as a document in the user's default Manic project, so it appears in Manic Create and Manic Workbench. Saving to an existing path creates a new revision. Requires MANIC_API_KEY (scopes: projects:read, projects:write).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Document path ending in .manic, e.g. "physics/pendulum.manic" | |
| source | Yes | Complete .manic source to save |