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

Function makeToolCall

apps/kimi-code/test/tui/export-markdown.test.ts:53–60  ·  view source on GitHub ↗
(id: string, name: string, args: Record<string, unknown>)

Source from the content-addressed store, hash-verified

51}
52
53function makeToolCall(id: string, name: string, args: Record<string, unknown>): ToolCall {
54 return {
55 type: 'function',
56 id,
57 name,
58 arguments: JSON.stringify(args),
59 };
60}
61
62// ---------------------------------------------------------------------------
63// extractToolCallHint

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected