MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / createToolUseMessage

Function createToolUseMessage

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

Source from the content-addressed store, hash-verified

4325}
4326
4327function createToolUseMessage(
4328 toolName: string,
4329 input: { [key: string]: string | number },
4330): UserMessage {
4331 return createUserMessage({
4332 content: `Called the ${toolName} tool with the following input: ${jsonStringify(input)}`,
4333 isMeta: true,
4334 })
4335}
4336
4337export function createSystemMessage(
4338 content: string,

Callers 1

Calls 2

createUserMessageFunction · 0.85
jsonStringifyFunction · 0.85

Tested by

no test coverage detected