fn tool_uses(messages: &[Message]) -> impl Iterator<Item = (&str, &str, &Value)>
Every tool call’s id, name and input, in transcript order.