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

Function createToolUseMessage

src/utils/messages.ts:4425–4433  ·  view source on GitHub ↗
(
  toolName: string,
  input: { [key: string]: string | number },
)

Source from the content-addressed store, hash-verified

4423}
4424
4425function createToolUseMessage(
4426 toolName: string,
4427 input: { [key: string]: string | number },
4428): UserMessage {
4429 return createUserMessage({
4430 content: `Called the ${toolName} tool with the following input: ${jsonStringify(input)}`,
4431 isMeta: true,
4432 })
4433}
4434
4435export function createSystemMessage(
4436 content: string,

Callers 1

Calls 2

jsonStringifyFunction · 0.85
createUserMessageFunction · 0.70

Tested by

no test coverage detected