Skip to main content

TOOL_ACTION

Constant TOOL_ACTION 

Source
pub const TOOL_ACTION: &'static str;
Available on crate feature audit only.
Expand description

A tool call was put to the policy before it ran, with its verdict.

Names the tool, the call’s id, a digest of its arguments and whether it was allowed. Written by AuditedPolicy before an allowed call runs, and the call is refused if it cannot be written.