Update doc in tools/toggle-subscriber-updates.ts
This commit is contained in:
parent
45ea1e21f9
commit
ba098427d6
1 changed files with 3 additions and 1 deletions
|
|
@ -19,7 +19,9 @@ const clients: Set<string | undefined> = new Set<string | undefined>();
|
|||
/**
|
||||
* Registers the `toggle-subscriber-updates` tool with the provided MCP server.
|
||||
*
|
||||
* The registered tool toggles the state of the simulated resource update mechanism for the client.
|
||||
* 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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue