MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / toolCall

Function toolCall

apps/kimi-code/test/tui/message-replay.test.ts:89–96  ·  view source on GitHub ↗
(id: string, name: string, args: Record<string, unknown>)

Source from the content-addressed store, hash-verified

87}
88
89function toolCall(id: string, name: string, args: Record<string, unknown>): ToolCall {
90 return {
91 type: 'function',
92 id,
93 name,
94 arguments: JSON.stringify(args),
95 };
96}
97
98function goalSnapshot(overrides: Partial<GoalSnapshot> = {}): GoalSnapshot {
99 const status = overrides.status ?? 'active';

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected