๐Ÿ“„ 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)

  • DESCRIPTION
  • PROMPT

๐Ÿ–ฅ๏ธ 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
`