qdrant_watch_ensure
Ensures the watcher is active for the current workspace without dropping other projects by merging requested, configured, and existing paths, and restarts only when the watch set changes.
Instructions
Ensure watcher is active for the current workspace without dropping other projects.
This tool is designed for OpenCode sessions where one global MCP server is shared across multiple repositories. It merges workspace paths with the configured and/or currently watched paths and only restarts the watcher when the effective watch set changes.
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": {
"paths": "<paths>"
},
"name": "qdrant_watch_ensure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Workspace paths that must be watched | |
| include_existing | No | Keep paths that are already being watched by the running server | |
| include_configured | No | Keep paths configured through WATCH_PATHS on server startup |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||