MCPcopy Create free account
hub / github.com/Noumena-Network/code / call

Function call

src/commands/context/context-noninteractive.ts:80–89  ·  view source on GitHub ↗
(
  _args: string,
  context: ToolUseContext,
)

Source from the content-addressed store, hash-verified

78}
79
80export async function call(
81 _args: string,
82 context: ToolUseContext,
83): Promise<{ type: 'text'; value: string }> {
84 const data = await collectContextData(context)
85 return {
86 type: 'text' as const,
87 value: formatContextAsMarkdownTable(data),
88 }
89}
90
91function formatContextAsMarkdownTable(data: ContextData): string {
92 const {

Callers

nothing calls this directly

Calls 2

collectContextDataFunction · 0.85

Tested by

no test coverage detected