pub struct ToolCallSemantics {
pub effect: ToolCallEffect,
pub verification_mode: ToolVerificationMode,
pub mutation_effects: ToolMutationEffects,
pub target_hints: Vec<ToolTargetHint>,
pub operation: Option<ToolCallOperation>,
pub evidence: Vec<ToolEvidenceCapability>,
}Expand description
Structured completion semantics for a specific tool call.
Fields§
§effect: ToolCallEffect§verification_mode: ToolVerificationMode§mutation_effects: ToolMutationEffectsFine-grained mutation effects. Older persisted rows omit this field and continue to deserialize through the default empty set.
target_hints: Vec<ToolTargetHint>§operation: Option<ToolCallOperation>Adapter-defined canonical operation for policy matching. This is an
exact, typed identifier (for example GET or POST), not a natural-
language action inferred by the policy layer.
evidence: Vec<ToolEvidenceCapability>Typed claim-support affordances for this exact call/result. These are persisted in the durable receipt so recovery and completion do not have to reconstruct evidence from prose.
Implementations§
Source§impl ToolCallSemantics
impl ToolCallSemantics
Sourcepub fn with_untyped_change(&self) -> Self
pub fn with_untyped_change(&self) -> Self
These semantics plus a change static inspection cannot type: still
the observation they were, now also a mutation (UNSPECIFIED, which
proves only the checklist items the call carries out).
pub fn administrative() -> Self
pub fn observation() -> Self
Sourcepub fn constrained_to_observation(self) -> Self
pub fn constrained_to_observation(self) -> Self
Apply a dispatcher-owned hard observation boundary while retaining target and evidence metadata from the original call. Use only when the adapter itself enforces that boundary before I/O.