Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
118
function
formatIds(ids: number[]): string {
119
return
ids.map((id) => `§${id}§`).join(
", "
);
120
}
121
122
export
function
createCtxReduceTools(deps: CtxReduceToolDeps): Record<string, ToolDefinition> {
123
return
{
Callers
1
execute
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected