browse_and_buy
Search an online store for a product, add it to cart, and pay with a virtual card to complete the purchase.
Instructions
Browse an online store, add items to cart, and complete purchase using a Lithic virtual card. Requires Playwright installed.
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": {
"store_url": "<store_url>",
"product_query": "<product_query>"
},
"name": "browse_and_buy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store_url | Yes | URL of the store (currently supports automationexercise.com) | |
| product_query | Yes | Product to search for and buy |