MCPcopy Create free account
hub / github.com/agent-tower/core / toolNameToAction

Function toolNameToAction

packages/server/src/output/claude-code-parser.ts:118–131  ·  view source on GitHub ↗

* 工具名称到动作类型的映射

(toolName: string)

Source from the content-addressed store, hash-verified

116 url?: string
117 file_id?: string
118 }
119 }>
120 model?: string
121 stop_reason?: string
122 usage?: {
123 input_tokens?: number
124 output_tokens?: number
125 cache_creation_input_tokens?: number
126 cache_read_input_tokens?: number
127 }
128 }
129 tool_use_id?: string
130 tool_result?: {
131 content?: string
132 is_error?: boolean
133 }
134 content?: string

Callers 1

handleToolUseMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected