UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

13 lines • 671 B
import type { McpToolCatalogEntry } from "../catalog.ts"; import type { McpInvocation, McpInvocationError } from "../invocation.ts"; import type { McpToolDefinition } from "./register.ts"; import type { McpToolResult } from "../tool-contracts.ts"; export declare function callMcpTool(entry: McpToolCatalogEntry, args: Record<string, unknown>, signal: AbortSignal | undefined, onUpdate: Parameters<McpToolDefinition["execute"]>[3], label: string, invocation: McpInvocation | undefined): Promise<{ kind: "called"; entry: McpToolCatalogEntry; result: McpToolResult; } | { kind: "refused"; error: McpInvocationError; }>; //# sourceMappingURL=call.d.ts.map