Before checkout
before_checkoutCall this right before your agent tries to check out at a store, or when a user asks "can my agent check out at ?". Returns a one-line answer, reaches_checkout, best_route (the best saved way in), up to 3 blockers, checked_at, the Agent Readiness Grade (grade, with expired when over 30 days old; grade_note when not graded, which is not a mark against the store), alternatives_hint when the grade is D or F or expired (a find_stores call with min_grade B in the same category), and a full_record link. Example: before_checkout({"url":"https://allbirds.com"}) → {"answer":"Yes: a saved check reached checkout via cart_link…","reaches_checkout":true,…}. reaches_checkout false or unknown is not a no. Saved checks only: no store fetch, no scan, no login. Advisory; ARC stops before payment. Errors: {error:{code, message, next_step}}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "before_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Store or product URL, such as https://allbirds.com or allbirds.com. |