Skip to content

index: schema description doesn't say path must be a directory #376

@justrach

Description

@justrach

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions