opentabs-plugin-amazon
v0.0.1
Published
OpenTabs plugin for Amazon product search, reviews, prices, cart, and orders
Downloads
41
Maintainers
Readme
Amazon
OpenTabs plugin for Amazon. It runs inside your Amazon browser tab and uses the active browser session for product search, prices, details, offers, reviews, cart, account summary, and order history.
Install
From npm:
npm install -g opentabs-plugin-amazon
opentabs startLocal development:
npm install
npm run buildThen add this plugin directory to OpenTabs localPluginDirs.
Setup
- Open amazon.com in Chrome
- Log in for account, cart, checkout, and order-history tools
- Open the OpenTabs side panel and confirm Amazon is ready
Tools (15)
Account
| Tool | Description | Type |
|---|---|---|
| get_current_user | Get the current Amazon account summary from the browser session | Read |
Products
| Tool | Description | Type |
|---|---|---|
| search_products | Search Amazon products by keyword | Read |
| get_product | Get normalized product details by ASIN | Read |
| get_product_pricing | Get the price, list price, coupon, availability, delivery, and Prime state | Read |
| get_product_offers | Get buy-box and alternate seller offers where visible | Read |
| get_product_images | Get primary and alternate image URLs | Read |
| get_product_api | Try the raw data.amazon.com product API and fall back to parsed product-page JSON | Read |
| navigate_to_product | Open a product page in the browser | Browser navigation |
| navigate_to_search | Open search results in the browser | Browser navigation |
Reviews
| Tool | Description | Type |
|---|---|---|
| get_product_reviews | Get review summary and paginated reviews with sort/star/verified filters | Read |
Cart
| Tool | Description | Type |
|---|---|---|
| get_cart | View current cart contents and subtotal | Read |
| navigate_to_cart | Open the cart page | Browser navigation |
| navigate_to_checkout | Open checkout for manual review/completion | Browser navigation |
Orders
| Tool | Description | Type |
|---|---|---|
| list_orders | List visible Amazon order-history cards by year/page | Read |
| navigate_to_orders | Open order history in the browser | Browser navigation |
Notes
Amazon uses a mix of server-rendered HTML and session-scoped internal APIs. Product search, details, pricing, images, reviews, cart, and orders are parsed from browser-fetched Amazon pages. get_product_api tries the browser-visible data.amazon.com/api/marketplaces/.../products/... payload first, then falls back to raw JSON built from parsed product pages when Amazon blocks that internal API from the tool context.
License
MIT
