(raw: &Value)
| 70 | } |
| 71 | |
| 72 | fn extract_tool_name(raw: &Value) -> Option<String> { |
| 73 | value_string(raw, "tool_name") |
| 74 | .or_else(|| value_at(raw, &["extra", "tool_name"])) |
| 75 | .filter(|s| !s.is_empty()) |
| 76 | } |
| 77 | |
| 78 | fn extract_tool_use_id(raw: &Value) -> Option<String> { |
| 79 | value_string(raw, "tool_use_id") |
nothing calls this directly
no test coverage detected