๐ File detail
tools/ReadMcpResourceTool/prompt.ts
๐งฉ .ts๐ 17 lines๐พ 544 bytes๐ text
โ Back to All Files๐ฏ Use case
This module implements the โReadMcpResourceToolโ tool (Read Mcp Resource) โ something the model can call at runtime alongside other agent tools. On the API surface it exposes DESCRIPTION and PROMPT โ mainly types, interfaces, or factory objects.
Generated from folder role, exports, dependency roots, and inline comments โ not hand-reviewed for every path.
๐ง Inline summary
export const DESCRIPTION = ` Reads a specific resource from an MCP server. - server: The name of the MCP server to read from - uri: The URI of the resource to read
๐ค Exports (heuristic)
DESCRIPTIONPROMPT
๐ฅ๏ธ Source preview
export const DESCRIPTION = `
Reads a specific resource from an MCP server.
- server: The name of the MCP server to read from
- uri: The URI of the resource to read
Usage examples:
- Read a resource from a server: \`readMcpResource({ server: "myserver", uri: "my-resource-uri" })\`
`
export const PROMPT = `
Reads a specific resource from an MCP server, identified by server name and resource URI.
Parameters:
- server (required): The name of the MCP server from which to read the resource
- uri (required): The URI of the resource to read
`