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

Function createGoal

packages/node-sdk/src/rpc.ts:550–558  ·  view source on GitHub ↗
(input: SessionIdRpcInput & CreateGoalInput)

Source from the content-addressed store, hash-verified

548 }
549
550 async createGoal(input: SessionIdRpcInput & CreateGoalInput): Promise<GoalSnapshot> {
551 const rpc = await this.getRpc();
552 return rpc.createGoal({
553 sessionId: input.sessionId,
554 agentId: this.interactiveAgentId,
555 objective: input.objective,
556 replace: input.replace,
557 });
558 }
559
560 async getGoal(input: SessionIdRpcInput): Promise<GoalToolResult> {
561 const rpc = await this.getRpc();

Callers

nothing calls this directly

Calls 2

getRpcMethod · 0.45
createGoalMethod · 0.45

Tested by

no test coverage detected