update_chapter
Modify a specific chapter in a knowledge document while preserving its structure and metadata. Provide project ID, filename, exact chapter title, and new content to ensure precise updates.
Instructions
Update a specific chapter within a knowledge document by title (exact match required). Preserves document structure, metadata, and other chapters. Chapter title must match exactly including case. Returns: {success: bool, message?: str, error?: str}
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chapter_title | Yes | Exact title of the chapter to update (case-sensitive) | |
filename | Yes | Knowledge file name (must include .md extension) | |
new_content | Yes | New content for the chapter (without ## heading) | |
new_summary | No | Optional chapter summary for search results | |
project_id | Yes | The project identifier |