Symptom
`codedb_index path=src/main.zig` returns `error: not a directory: ...`, but the schema description says "Absolute path to the folder to index" without making the file/folder distinction. Agents reading the schema may pass a file path and only learn the constraint at runtime.
Fix
Schema description: "Absolute path to the FOLDER (not a file) to index, e.g. /Users/you/myproject". Tool description: append "Path must be a directory, not a file."
Labels
docs
Symptom
`codedb_index path=src/main.zig` returns `error: not a directory: ...`, but the schema description says "Absolute path to the folder to index" without making the file/folder distinction. Agents reading the schema may pass a file path and only learn the constraint at runtime.
Fix
Schema description: "Absolute path to the FOLDER (not a file) to index, e.g. /Users/you/myproject". Tool description: append "Path must be a directory, not a file."
Labels
docs