Skip to main content

tool_signature

Function tool_signature 

Source
pub(super) fn tool_signature(call: &ToolCall) -> String
Expand description

Compute the individual signature for a single ToolCall.

Format: "{name}:{fnv1a_64(canonical_args_json):016x}"

Arguments are serialised via stable_repr before hashing so that logically identical arguments always hash identically regardless of JSON key ordering.