MCPcopy Create free account
hub / github.com/chieapp/chie / getToolCallDescription

Method getToolCallDescription

src/controller/tool-manager.ts:33–37  ·  view source on GitHub ↗
(call: ChatToolCall)

Source from the content-addressed store, hash-verified

31 }
32
33 getToolCallDescription(call: ChatToolCall) {
34 const tool = this.#tools[call.name];
35 const arg = Object.keys(call.arg).map(key => `${key}: ${JSON.stringify(call.arg[key])}`).join(', ');
36 return `Tool: ${tool?.displayName ?? call.name}(${arg})`;
37 }
38}
39
40export default new ToolManager();

Callers 2

#onMessageDeltaMethod · 0.80
mergeToolMessagesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected