sync_documentation
Automatically generate or update documentation for code changes, including new methods and changed signatures, by scanning your local project.
Instructions
Automatically creates or updates documentation based on code changes. Detects new methods, changed signatures, and generates doc stubs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dirPath": "<dirPath>"
},
"name": "sync_documentation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dirPath | Yes | The absolute path to the local project. | |
| filePaths | No | Optional. Specific files that changed (default: auto-detect from git). | |
| updateMode | No | Optional. 'create', 'update', or 'both' (default: 'update'). |