Skip to main content

resolve_args

Function resolve_args 

pub fn resolve_args(
    args: &Value,
    ctx: &BindingContext<'_>,
) -> Result<Value, String>
Expand description

Resolve every binding in args, returning a new value. A string that is exactly one binding resolves to the referenced JSON value (any type); bindings embedded in longer strings interpolate as text. Unresolvable references error rather than passing template text to a tool.