register_directory
Register a directory for incremental sync, enabling local semantic search over its documents and code.
Instructions
Register a directory for incremental sync.
Returns immediately — the daemon records the registration in the background.
Args: directory: Absolute path to the directory. collection: Collection name. Uses directory name if empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | ||
| collection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |