pub enum Match {
Customer(CustomerId),
Pet(PetId),
Reservation(Id),
NotFound,
Ambiguous {
candidates: Vec<ExternalRecordId>,
},
}Expand description
Decision choices for match in the agent tool workflow; each value routes reviewed source facts to the right queue, draft, or staff gate.
Variants§
Customer(CustomerId)
Selects customer for the agent tool decision model so the app can choose a review, evidence, or draft path without taking live action.
Pet(PetId)
Selects pet for the agent tool decision model so the app can choose a review, evidence, or draft path without taking live action.
Reservation(Id)
Selects reservation for the agent tool decision model so the app can choose a review, evidence, or draft path without taking live action.
NotFound
Selects not found for the agent tool decision model so the app can choose a review, evidence, or draft path without taking live action.
Ambiguous
Candidates copied from reviewed source input for audit, reviewer explanation, or agent context; callers must not invent or mutate it.
Fields
candidates: Vec<ExternalRecordId>Candidates value stored on this variant.