pub trait GeneratedContent {
// Required methods
fn builtin_index(&self) -> Vec<(String, String)>;
fn tool_help(&self, name: &str) -> Option<String>;
}Expand description
Live, schema-derived content the static fragments can’t hold.
The kernel implements this (it owns the tool registry); this crate stays free
of the registry. SchemaContent is the standard implementation.
Required Methods§
Sourcefn builtin_index(&self) -> Vec<(String, String)>
fn builtin_index(&self) -> Vec<(String, String)>
(name, one-line description) for every available builtin, in list order.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".