MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / use

Function use

scripts/agent-eval/parse-run.mjs:969–969  ·  view source on GitHub ↗
(id, name, input = {})

Source from the content-addressed store, hash-verified

967 message: { id, content: [b], usage: { input_tokens: ctx, cache_read_input_tokens: 0, cache_creation_input_tokens: 0, output_tokens: 2 } },
968 }));
969 const use = (id, name, input = {}) => ({ type: 'tool_use', id, name, input });
970 const res = (id, chars) => JSON.stringify({
971 type: 'user', message: { content: [{ type: 'tool_result', tool_use_id: id, content: [{ type: 'text', text: 'x'.repeat(chars) }] }] },
972 });

Callers 3

selftestFunction · 0.85
oneShotFunction · 0.85
guardNoPruneFunction · 0.85

Calls

no outgoing calls

Tested by 1

guardNoPruneFunction · 0.68