Skip to main content

tool_surface_hash

Function tool_surface_hash 

Source
pub fn tool_surface_hash(specs: &[ToolSpec]) -> String
Expand description

The content hash of the exact tool surface offered on one model call: name, description, and schema of every spec, in offered order. Enters the compiled program digest, so a discovery-activated tool visibly changes the program identity.