MCPcopy Create free account
hub / github.com/c4pt0r/pie / tool_call_line

Function tool_call_line

crates/coding-agent/src/debug.rs:128–137  ·  view source on GitHub ↗
(call_id: u64, tool_call: &ToolCall)

Source from the content-addressed store, hash-verified

126}
127
128fn tool_call_line(call_id: u64, tool_call: &ToolCall) -> String {
129 let args = serde_json::Value::Object(tool_call.arguments.clone());
130 let args = serde_json::to_string_pretty(&args).unwrap_or_else(|_| args.to_string());
131 format!(
132 "[debug llm #{call_id} tool-call] id={} name={} args=\n{}",
133 tool_call.id,
134 tool_call.name,
135 debug_preview(&args)
136 )
137}
138
139fn done_line(
140 call_id: u64,

Callers 2

wrap_stream_fnFunction · 0.85

Calls 1

cloneMethod · 0.45