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

Function getContext

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

Source from the content-addressed store, hash-verified

425 }
426
427 async getContext(input: SessionIdRpcInput): Promise<AgentContextData> {
428 const rpc = await this.getRpc();
429 return rpc.getContext({
430 sessionId: input.sessionId,
431 agentId: this.interactiveAgentId,
432 });
433 }
434
435 async getUsage(input: SessionIdRpcInput): Promise<SessionUsage> {
436 const rpc = await this.getRpc();

Callers

nothing calls this directly

Calls 2

getRpcMethod · 0.45
getContextMethod · 0.45

Tested by

no test coverage detected