promote_document
Import or migrate a file from an external vault (e.g., Obsidian) into the Alcove project directory. Auto-detects target project by matching filename and content, or falls back to inbox. Choose to copy (default) or move the file.
Instructions
Promote a document from an external vault (e.g. Obsidian) into the alcove doc-repo.
Use this tool when the user wants to import, migrate, or copy a file from outside alcove into the appropriate project directory.
If 'project' is not specified, the target project is auto-detected by matching the file name and content keywords against known project directory names. Falls back to the 'inbox/' directory if no match is found.
By default, the file is copied (safe). Set copy=false to move it instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| copy | No | Copy the file (true, default) or move it (false) | |
| project | No | Target project name (auto-detected if omitted) | |
| source | Yes | Absolute path to the source file to promote |