getResourceReference
Generate resource references for MCP clients to fetch resources by ID, providing text introductions, embedded references, and usage instructions.
Instructions
Returns a resource reference that can be used by MCP clients to fetch a resource. The resource ID must be between 1 and 100.
Args: resourceId: ID of the resource to reference (1-100)
Returns: A list containing a text introduction, an embedded resource reference, and instructions for using the resource URI
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": {
"resourceId": "<resourceId>"
},
"name": "getResourceReference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resourceId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |