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

Function agentSwarmCall

packages/agent-core/test/agent/turn.test.ts:1802–1813  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1800}
1801
1802function agentSwarmCall(): ToolCall {
1803 return {
1804 type: 'function',
1805 id: 'call_swarm',
1806 name: 'AgentSwarm',
1807 arguments: JSON.stringify({
1808 description: 'Review files',
1809 prompt_template: 'Review {{item}}',
1810 items: ['src/a.ts', 'src/b.ts'],
1811 }),
1812 };
1813}
1814
1815function mockSubagentHost<T extends Partial<SessionSubagentHost>>(
1816 host: T,

Callers 1

turn.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected