MCPcopy Index your code
hub / github.com/codeaashu/claude-code / createToolUseMessage

Function createToolUseMessage

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 2

createUserMessageFunction · 0.85
jsonStringifyFunction · 0.85

Tested by

no test coverage detected