From cd5b728fb63be51d68fcb8307a9ef274c3817d01 Mon Sep 17 00:00:00 2001 From: cliffhall Date: Sat, 13 Dec 2025 15:21:38 -0500 Subject: [PATCH] Update doc in tools/toggle-subscriber-updates.ts --- src/everything/tools/toggle-subscriber-updates.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/everything/tools/toggle-subscriber-updates.ts b/src/everything/tools/toggle-subscriber-updates.ts index 6d4f02ad..84458035 100644 --- a/src/everything/tools/toggle-subscriber-updates.ts +++ b/src/everything/tools/toggle-subscriber-updates.ts @@ -22,8 +22,9 @@ const clients: Set = new Set(); * The registered tool enables or disables the sending of periodic, simulated resource * update messages the connected client for any subscriptions they have made. * - * - When enabled, the simulated resource updates are sent to the client at a regular interval. - * - When disabled, updates are stopped for the session. + * When invoked, it either starts or stops simulated resource updates based on the session's + * current state. If simulated updates for the specified session is active, it will be stopped; + * if it is inactive, simulated updates will be started. * * The response provides feedback indicating whether simulated updates were started or stopped, * including the session ID.