register_directory
Register a local directory so its future changes sync automatically.
Instructions
Use to track a local directory so future changes sync automatically.
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 |