watch_repo
Updates the graph database incrementally by watching a repository for file changes, such as additions, modifications, and deletions.
Instructions
Start watching a repository for file changes. Incrementally updates the graph DB when files are added, modified, or deleted. Uses Rust-backed file watcher for performance.
repo_path: absolute path to the repository root
exclude_dirs: comma-separated directories to ignore (e.g. "node_modules,dist")
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "watch_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | No | /demo | |
| exclude_dirs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |