Skip to main content

from_runtime

Function from_runtime 

Source
pub fn from_runtime(name: &str, runtime: &dyn AgentRuntime) -> ToolDef
Expand description

Build reasoning tool from AgentRuntime context. Adapts schema based on runtime signals (inbox, threats, OTP).