create_knowledge_file
Generate structured knowledge documents with metadata for centralized project management. Automatically slugifies filenames, requires keywords, and supports chapters with titles and content for organized storage and retrieval.
Instructions
Create a structured knowledge document with metadata. Document name is slugified for safety (spaces→hyphens). Requires at least one keyword. Chapters must have 'title' and 'content' keys. Returns: {success: bool, document_id?: str, message?: str, error?: str}
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chapters | Yes | List of chapter objects with title and content | |
filename | Yes | Desired filename (will be slugified, .md extension optional) | |
introduction | Yes | Opening text that appears before any chapters | |
keywords | Yes | List of searchable keywords | |
project_id | Yes | The project identifier | |
title | Yes | Human-readable document title for the metadata |