Expand description
Tool result metadata and quality scoring
Provides metadata about tool result quality, confidence, and usefulness. This allows the agent to make informed decisions about result reliability and prioritize high-quality results in context windows.
Core types (ResultCompleteness, ResultMetadata, EnhancedToolResult, ResultScorer)
are defined in vtcode-commons::tool_types and re-exported here for backward compatibility.
This module retains the scorer implementations that depend on tool_intent.
Structs§
- Code
Search Scorer - Scorer for bounded code search results.
- Enhanced
Tool Result - Enhanced tool result with metadata
- Find
Scorer - Scorer for file finding results
- Result
Metadata - Quality metadata for tool results
- Scorer
Registry - Registry for result scorers
- Shell
Scorer - Scorer for shell command results
Enums§
- Result
Completeness - Result completeness level
Traits§
- Result
Scorer - Trait for scoring tool results
Type Aliases§
- Compact
Str - Compact inline string – stack-allocated for strings up to 24 bytes.
Drop-in replacement for
Stringwith zero heap allocation for short strings.