@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
13 lines • 838 B
TypeScript
import type { Client } from "@modelcontextprotocol/sdk/client/index.js";
import type { RequestOptions } from "@modelcontextprotocol/sdk/shared/protocol.js";
import type { McpJsonSchema, McpListedTool, McpToolResult } from "./tool-contracts.ts";
/**
* Tool operations have an era-specific contract. The SDK client remains the
* lifecycle/request owner, but its legacy tool helpers never parse modern data.
*/
export declare function listMcpTools(client: Client, params?: Parameters<Client["listTools"]>[0], options?: RequestOptions): Promise<{
tools: McpListedTool[];
nextCursor?: string;
}>;
export declare function callMcpToolRequest(client: Client, params: Parameters<Client["callTool"]>[0], outputSchema: McpJsonSchema | undefined, options?: RequestOptions): Promise<McpToolResult>;
//# sourceMappingURL=tool-client.d.ts.map