update_doc
Update documentation files by applying diff-based changes. Specify the project path, file name, and content to search and replace, ensuring accurate and efficient updates.
Instructions
Update a specific documentation file using diff-based changes
Input Schema
Name | Required | Description | Default |
---|---|---|---|
continueToNext | No | Whether to continue to the next file after this update | |
docFile | Yes | Name of the documentation file to update | |
projectPath | Yes | Path to the project root directory | |
replaceContent | Yes | Content to replace the search content with | |
searchContent | Yes | Content to search for in the file |
Input Schema (JSON Schema)
{
"properties": {
"continueToNext": {
"description": "Whether to continue to the next file after this update",
"type": "boolean"
},
"docFile": {
"description": "Name of the documentation file to update",
"type": "string"
},
"projectPath": {
"description": "Path to the project root directory",
"type": "string"
},
"replaceContent": {
"description": "Content to replace the search content with",
"type": "string"
},
"searchContent": {
"description": "Content to search for in the file",
"type": "string"
}
},
"required": [
"projectPath",
"docFile",
"searchContent",
"replaceContent"
],
"type": "object"
}