pub struct ToolHealthReport {Show 18 fields
pub tool_profile: String,
pub advertised_tools: usize,
pub tool_schema_tokens: usize,
pub instruction_tokens: usize,
pub rules_tokens: usize,
pub fixed_total_tokens: usize,
pub has_usage_data: bool,
pub total_recorded_calls: u64,
pub unused_tools: usize,
pub unused_tool_tokens: usize,
pub disable_candidates: Vec<String>,
pub reclaimable_tokens: usize,
pub disable_action: String,
pub footprint_note: Option<String>,
pub tools: Vec<ToolEntry>,
pub rules: Vec<RuleEntry>,
pub duplicate_clients: Vec<(String, usize)>,
pub knowledge: KnowledgeHealth,
}Fields§
§tool_profile: String§advertised_tools: usize§tool_schema_tokens: usize§instruction_tokens: usize§rules_tokens: usize§fixed_total_tokens: usizeTool schemas + MCP instructions + every auto-loaded rules file.
has_usage_data: bool§total_recorded_calls: u64§unused_tools: usize§unused_tool_tokens: usizeSchema tokens spent every session on tools that are never called.
disable_candidates: Vec<String>Low-value tools (unused or low-use) the operator should consider disabling.
reclaimable_tokens: usizeSchema tokens reclaimable by disabling every Self::disable_candidates.
disable_action: StringAggregated, copy-pasteable “consider disabling X” recommendation.
footprint_note: Option<String>Outcome signal from the latest eval footprint artifact (#959), if any:
whether the tool-schema element as a whole earns its tokens.
tools: Vec<ToolEntry>§rules: Vec<RuleEntry>§duplicate_clients: Vec<(String, usize)>§knowledge: KnowledgeHealthTrait Implementations§
Source§impl Clone for ToolHealthReport
impl Clone for ToolHealthReport
Source§fn clone(&self) -> ToolHealthReport
fn clone(&self) -> ToolHealthReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ToolHealthReport
impl Debug for ToolHealthReport
Auto Trait Implementations§
impl Freeze for ToolHealthReport
impl RefUnwindSafe for ToolHealthReport
impl Send for ToolHealthReport
impl Sync for ToolHealthReport
impl Unpin for ToolHealthReport
impl UnsafeUnpin for ToolHealthReport
impl UnwindSafe for ToolHealthReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more