MCPcopy Create free account
hub / github.com/cortexkit/magic-context / formatIds

Function formatIds

packages/plugin/src/tools/ctx-reduce/tools.ts:118–120  ·  view source on GitHub ↗
(ids: number[])

Source from the content-addressed store, hash-verified

116}
117
118function formatIds(ids: number[]): string {
119 return ids.map((id) => `§${id}§`).join(", ");
120}
121
122export function createCtxReduceTools(deps: CtxReduceToolDeps): Record<string, ToolDefinition> {
123 return {

Callers 1

executeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected