The provider confirms the refund settled: expects "succeeded"
The ticket records the settled outcome: expects "resolved"
Exactly one refund exists for this request: expects 1
The agent’s instructions
Read the ticket and original payment. Ask for missing information. Verify the requester owns the payment and the request is eligible.
Use the configured thresholds and runtime approval mechanism. Stop if required approval cannot be verified. Never exceed the remaining balance.
Look up a stable key derived from the ticket, payment and requested amount. Reuse the original result on retry.
Create at most one refund. If the response is lost, reconcile by the same key. A pending response is not settled.
Verify the provider status and update the ticket with the actual outcome. Retry a failed ticket update without issuing another refund.
Report amounts in dollars with two decimal places; retain integer cents only in tool arguments. Claim completion only after payment and ticket evidence agree.
Follow it into operation
Connect your agent to an AgentAction workspace. Jobs shows what happened on each run; Evals lets you configure evaluation definitions and routing. Review the provenance of each result: agent self-assessments and independent observations provide different evidence.
Downloading a recipe does not connect accounts, deploy an agent, install controls, or configure Evals.