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

Method createGoal

packages/node-sdk/src/session.ts:398–401  ·  view source on GitHub ↗
(input: CreateGoalInput)

Source from the content-addressed store, hash-verified

396 // by the host.
397
398 async createGoal(input: CreateGoalInput): Promise<GoalSnapshot> {
399 this.ensureOpen();
400 return this.rpc.createGoal({ sessionId: this.id, ...input });
401 }
402
403 async getGoal(): Promise<GoalToolResult> {
404 this.ensureOpen();

Callers 5

createGoalFunction · 0.45
startGoalFunction · 0.45
runHeadlessGoalFunction · 0.45

Calls 1

ensureOpenMethod · 0.95

Tested by

no test coverage detected