list_watches
View active watchers monitoring CI results, deployments, test outcomes, and file system changes in real-time.
Instructions
List all active watchers
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": "list_watches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/server.ts:445-452 (handler)The handleListWatches method that executes the logic for the list_watches tool.
private async handleListWatches() { const watches = this.registry.list(); return { content: [{ type: 'text' as const, text: JSON.stringify(watches, null, 2), }], }; - src/server.ts:142-146 (registration)The registration of the list_watches tool definition within the MCP server.
{ name: 'list_watches', description: 'List all active watchers', inputSchema: { type: 'object', properties: {} }, },