For AI agents: the complete documentation index is available at https://scriptedalchemy.github.io/agent-bundle/llms.txt, the full documentation bundle is available at https://scriptedalchemy.github.io/agent-bundle/llms-full.txt, and this page is available as Markdown at https://scriptedalchemy.github.io/agent-bundle/api/functions/test.readMcpResource.md.
  • English
  • Function: readMcpResource()

    readMcpResource(uri, ...__namedParameters): Promise<McpResourceRead>

    Reads one compiled resource route by URI through the real protocol.

    Parameters

    uri

    string

    __namedParameters

    ...HarnessOptionsArguments<InMemoryMcpSessionOptions<unknown, Readonly<Record<string, ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>>>>>

    Returns

    Promise<McpResourceRead>