evalstate/sandbox-testing-2 / hf-mcp-server /packages /app /dist /server /utils /streamable-http-tool-caller.d.ts
evalstate's picture
download
raw
734 Bytes
import type { CallToolResult, ReadResourceResult } from '@modelcontextprotocol/sdk/types.js';
import type { ServerNotification, ServerRequest } from '@modelcontextprotocol/sdk/types.js';
import type { RequestHandlerExtra } from '@modelcontextprotocol/sdk/shared/protocol.js';
export declare function callStreamableHttpTool(serverUrl: string, toolName: string, parameters: Record<string, unknown>, hfToken: string | undefined, extra: RequestHandlerExtra<ServerRequest, ServerNotification> | undefined): Promise<CallToolResult>;
export declare function readStreamableHttpResource(serverUrl: string, resourceUri: string, hfToken: string | undefined): Promise<ReadResourceResult>;
//# sourceMappingURL=streamable-http-tool-caller.d.ts.map

Xet Storage Details

Size:
734 Bytes
·
Xet hash:
20566e1cff74cb4dabd8a63cc0b293615d02c7f5167fca2b4704456f4eddc7d6

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.