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

Function toolMsg

apps/kimi-code/test/tui/export-markdown.test.ts:44–51  ·  view source on GitHub ↗
(callId: string, text: string)

Source from the content-addressed store, hash-verified

42}
43
44function toolMsg(callId: string, text: string): ContextMessage {
45 return {
46 role: 'tool',
47 content: [{ type: 'text', text }],
48 toolCalls: [],
49 toolCallId: callId,
50 };
51}
52
53function makeToolCall(id: string, name: string, args: Record<string, unknown>): ToolCall {
54 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected