pub struct DynamicToolsFragment;Expand description
Dynamically generate tool descriptions from registered tools.
Iterates ctx.tool_definitions and produces a [Tools] section listing
each tool’s name and description. Useful for consumers that want tool
documentation in the system prompt without hardcoding it.
Priority: 70 (after workflow/safety, before memory).
Trait Implementations§
Source§impl Clone for DynamicToolsFragment
impl Clone for DynamicToolsFragment
Auto Trait Implementations§
impl Freeze for DynamicToolsFragment
impl RefUnwindSafe for DynamicToolsFragment
impl Send for DynamicToolsFragment
impl Sync for DynamicToolsFragment
impl Unpin for DynamicToolsFragment
impl UnsafeUnpin for DynamicToolsFragment
impl UnwindSafe for DynamicToolsFragment
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more