Skip to contents

Hashes a tool's name, description, argument schema, governance policy (side effects, approval, limits), and R function body. Captured values in the function's enclosing environment are omitted, so this identifies the declared specification rather than the complete executable apparatus.

Usage

hash_tool_spec(tool)

Arguments

tool

An LLMR::llm_tool() or a governed agent_tool().

Value

A 64-character SHA-256 hex string.