Skip to main content
Checks whether the current browser tab is a checkout page and how confident the detection is. Use it before pay_checkout to confirm the page is ready to pay; it needs Chrome with the Agentcard Pay extension installed.

Parameters

ParameterTypeRequiredDescription
tab_idnumberNoChrome tab ID. If omitted, uses the active tab.

Returns

Whether the tab looks like a checkout page (isCheckout), a confidence score from 0 to 1, and the amount detected on the page in cents when one is found. It also lists the scoring signals behind the decision, each with its name, weight, and whether it matched.

Example

{ "name": "detect_checkout", "arguments": {} }