register_directory
Track a local directory for automatic future change syncing; registers the absolute path and optional collection name with the background daemon.
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 the directory name, sanitized, if empty.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"directory": "<directory>"
},
"name": "register_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | ||
| collection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |