create_document
Create a new text document (markdown or plain text). For binary files (PDF, DOCX), use the web UI. If the user is working inside a VSCode workspace and a <workspace>/.bilg/bilg.config.json exists, prefer that file's projectName over the API key's default project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Folder path within the project, e.g. 'decisions' | |
| tags | No | ||
| title | No | ||
| content | Yes | Markdown or plain text content | |
| fileName | Yes | e.g. 'powersync-decision.md' | |
| projectName | No | Defaults to the API key's default project |