Update a subscribed resource
update_live_resourceIncrements the live counter in a subscribed test resource and sends an update notification so you can verify whether the client re-reads the changed resource.
Instructions
Increase the counter in test://live/counter and send notifications/resources/updated for it. Subscribe first (resources/subscribe on 2025-era connections, a subscriptions/listen stream with resourceSubscriptions on 2026-07-28), then check whether the client re-reads it.
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": "update_live_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | ||
| counter | Yes | ||
| updatedAt | Yes | ||
| legacySubscribers | Yes |