Skip to main content

tools

Function tools 

Source
pub fn tools() -> Vec<Tool>
Expand description

The tools the client offers and the agent executes.

The client sends these on every run and the agent reads them back out of RunContext::tools, so a run that names a tool the client never offered is a bug this example can actually catch.