pub fn tool_fold_identity(tool_call_id: &str) -> u64Expand description
Stable identity for a tool-call fold, keyed on the wire tool_call_id (not
the line range) so the fold’s expansion state survives a transcript that
grows above it. Namespaced with "ai:tool" so it never collides with a
primary provider’s hash for the same span.