Skip to main content

call

Function call 

Source
pub fn call(
    tool: &Tool,
    s: &Session,
    arguments: &Value,
) -> Result<Answer, String>
Expand description

Runs a tool on its arguments, once they fit its schema: no argument it does not know, none it needs missing. Types are checked as each is read.