docs: Improve MCP tool descriptions for clarity and completeness

- smart_search: Condense verbose description from 40 to 12 lines while preserving key usage examples
- write_file: Add missing createDirectories parameter documentation
- edit_file: Clarify update/line mode naming and add batch edit examples

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-12-20 13:46:24 +08:00
parent 4458af83d8
commit bfbab44756
3 changed files with 19 additions and 42 deletions

View File

@@ -105,7 +105,7 @@ export const schema: ToolSchema = {
description: `Write content to file. Auto-creates parent directories.
Usage: write_file(path="file.js", content="code here")
Options: backup=true (backup before overwrite), encoding="utf8"`,
Options: backup=true (backup before overwrite), createDirectories=false (disable auto-creation), encoding="utf8"`,
inputSchema: {
type: 'object',
properties: {