pub enum Result {
Authorized {
authorization_id: AuthorizationId,
amount: Money,
},
Declined {
reason: DeclineReason,
},
RequiresHumanReview {
reason: ReviewReason,
},
}Expand description
Decision choices for result in the agent tool workflow; each value routes reviewed source facts to the right queue, draft, or staff gate.
Variants§
Authorized
Selects authorized for the agent tool decision model so the app can choose a review, evidence, or draft path without taking live action.
Fields
Authorization id copied from reviewed source input for audit, reviewer explanation, or agent context; callers must not invent or mutate it.
Declined
Selects declined for the agent tool decision model so the app can choose a review, evidence, or draft path without taking live action.
Fields
reason: DeclineReasonReason copied from reviewed source input for audit, reviewer explanation, or agent context; callers must not invent or mutate it.
RequiresHumanReview
Selects requires human review for the agent tool decision model so the app can choose a review, evidence, or draft path without taking live action.
Fields
reason: ReviewReasonReason copied from reviewed source input for audit, reviewer explanation, or agent context; callers must not invent or mutate it.