πŸ“„ 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
`