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

Function cancelGoal

packages/node-sdk/src/rpc.ts:581–587  ·  view source on GitHub ↗
(input: SessionIdRpcInput)

Source from the content-addressed store, hash-verified

579 }
580
581 async cancelGoal(input: SessionIdRpcInput): Promise<GoalSnapshot> {
582 const rpc = await this.getRpc();
583 return rpc.cancelGoal({
584 sessionId: input.sessionId,
585 agentId: this.interactiveAgentId,
586 });
587 }
588
589 async listMcpServers(input: SessionIdRpcInput): Promise<readonly McpServerInfo[]> {
590 const rpc = await this.getRpc();

Callers

nothing calls this directly

Calls 2

getRpcMethod · 0.45
cancelGoalMethod · 0.45

Tested by

no test coverage detected