import_file
Import files (txt, md, docx) into the repository to add context, automatically creating a context entry and updating the organisation.md index.
Instructions
import a file (txt, md, docx) into the repo as context. creates a context/ entry and updates the organisation.md index. the ai agent passes file content it has already read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | file name (e.g., 'onboarding.md', 'runbook.txt', 'spec.docx') | |
| content | Yes | full text content of the file (plain text for txt/md, base64-encoded for docx) | |
| fileType | Yes | file type — determines how content is processed | |
| section | No | which organisation.md section to link from (auto-detected from filename if omitted) | |
| message | No | brief description of what's being imported |