pub struct LinearSchemaEnricher;Trait Implementations§
Source§impl ToolEnricher for LinearSchemaEnricher
impl ToolEnricher for LinearSchemaEnricher
Source§fn supported_categories(&self) -> &[ToolCategory]
fn supported_categories(&self) -> &[ToolCategory]
Which tool categories this provider/enricher supports.
Tools from other categories won’t be shown when this enricher is active.
Source§fn enrich_schema(&self, tool_name: &str, schema: &mut ToolSchema)
fn enrich_schema(&self, tool_name: &str, schema: &mut ToolSchema)
Modify the tool schema during
tools/list.Source§fn transform_args(&self, _tool_name: &str, _args: &mut Value)
fn transform_args(&self, _tool_name: &str, _args: &mut Value)
Transform arguments before tool execution.
Source§fn value_model(&self, _tool_name: &str) -> Option<ToolValueModel>
fn value_model(&self, _tool_name: &str) -> Option<ToolValueModel>
Optional: provider-shipped value model for
tool_name. Returned
models are merged into AdaptiveConfig.tools at startup so the
Paper 3 enrichment planner can read them via
effective_tool_value_model. Read moreSource§fn project_args(
&self,
_prev_tool: &str,
_prev_result: &Value,
_link: &FollowUpLink,
) -> Option<Value>
fn project_args( &self, _prev_tool: &str, _prev_result: &Value, _link: &FollowUpLink, ) -> Option<Value>
Build the JSON arguments for a speculatively pre-fetched
follow-up call. Read more
Source§fn rate_limit_host(&self, _tool_name: &str, _args: &Value) -> Option<String>
fn rate_limit_host(&self, _tool_name: &str, _args: &Value) -> Option<String>
Optional dynamic rate-limit host for
tool_name, derived from
runtime args. Provider returns the network host the call
will hit (e.g. Some("api.github.com")) so the speculative
dispatcher can cap concurrent in-flight prefetches per host. Read moreAuto Trait Implementations§
impl Freeze for LinearSchemaEnricher
impl RefUnwindSafe for LinearSchemaEnricher
impl Send for LinearSchemaEnricher
impl Sync for LinearSchemaEnricher
impl Unpin for LinearSchemaEnricher
impl UnsafeUnpin for LinearSchemaEnricher
impl UnwindSafe for LinearSchemaEnricher
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