Skip to main content

PageToolHandler

Type Alias PageToolHandler 

Source
pub type PageToolHandler = Arc<dyn Fn(PageToolName, Map<String, Value>) -> BoxFuture<'static, Result<String>> + Send + Sync>;
Expand description

Runs one page tool with its parameters and returns its result as text.

Aliased Typeยง

pub struct PageToolHandler { /* private fields */ }