MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / createRemoteMcpToolCall

Function createRemoteMcpToolCall

apps/extension/src/shared/agent-conversation.ts:178–194  ·  view source on GitHub ↗
({
  arguments: toolArguments,
  name,
  providerToolCallId,
  remoteToolName,
  serverId,
  serverName,
}: CreateRemoteMcpToolCallOptions)

Source from the content-addressed store, hash-verified

176 readonly webMcpOrigin: string;
177}
178
179interface CreateKiloBrowserToolCallOptions {
180 readonly arguments: Record<string, unknown>;
181 readonly name: KiloBrowserToolName;
182 readonly providerToolCallId?: string;
183 readonly tabId: number;
184}
185
186interface CreateToolResultOptions {
187 readonly error?: string;
188 readonly ok: boolean;
189 readonly toolCallId: string;
190 readonly value?: unknown;
191}
192
193// Per-session prefix so the reset-on-reload counter never reissues a restored id.
194const eventIdSession = crypto.randomUUID();
195let nextEventId = 1;
196
197const createEventId = (): string => {

Calls 1

createEventIdFunction · 0.85

Tested by 1

searchEventFunction · 0.72