subscribe_resource
Subscribes to updates for a specified resource URI and returns a JSON confirmation, enabling clients to track changes and receive ongoing notifications.
Instructions
Subscribe to updates for a resource.
Args: uri: The URI of the resource to subscribe to
Returns: JSON string confirming subscription
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": {
"uri": "<uri>"
},
"name": "subscribe_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |