pub fn tool_call_names(entry: &Value) -> Vec<&str>Expand description
Names of the tools called in one transcript record, in every transcript schema a supported agent writes:
- Claude Code:
type: "assistant",message.content[]blocks oftype: "tool_use" - pi (GSD) and OpenCode:
type: "message", an assistantmessage.content[]with blocks oftype: "toolCall" - Codex:
type: "response_item"whosepayloadis acustom_tool_callorfunction_call(named) or alocal_shell_call(counted asBash, the name the server gives it) - Amp:
type: "amp_message"(the envelope the bundled plugin wraps Amp’s own thread messages in), an assistantmessage.content[]with blocks oftype: "tool_use". Names are Amp’s own (create_file,edit_file,shell_command,Task,create_thread, …).