Skip to main content

prepare_invocation

Function prepare_invocation 

Source
pub fn prepare_invocation<T: ToolSemantics + ?Sized>(
    tool: &T,
    arguments: &str,
) -> Result<PreparedToolInvocation, ToolArgumentContractViolation>
Expand description

Produce the single typed invocation object consumed by the execution control plane. Validation deliberately precedes semantics and access derivation so a rejected proposal can never acquire intended effects.