pub trait ToolGate:
Debug
+ Send
+ Sync {
// Required method
async fn permitted(
&self,
params: &dyn GateableToolParams,
) -> Result<(), String>;
}Expand description
Permission gate for tool call execution
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".