update_documentation
Avoid stale documentation by updating project files (CLAUDE.md, README.md) with current workflow information. Auto-detects sections or targets specific ones for accurate updates.
Instructions
Updates project documentation (CLAUDE.md, README.md) with information from the current workflow. Can auto-detect sections or target specific ones. Useful for keeping docs in sync with development.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_documentation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | How to update the section: append, replace, or prepend | append |
| content | No | Content to add. If not provided, auto-generates from workflow info | |
| section | No | Section name to update (e.g., "## Features", "### Recent Changes") | |
| doc_path | No | Path to documentation file. Default: auto-detects CLAUDE.md or README.md | |
| workflow_id | No | Workflow ID to extract info from. Default: current workflow |