search_products
Search the store's public catalog by keyword, with optional category, price-range and stock filters and several sort orders. Returns one page of products with prices in integer yen (tax included), stock and ratings — exactly what the storefront shows.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number. Defaults to 1. | |
| sort | No | One of: recommended, newest, price_asc, price_desc, rating. Defaults to recommended. | |
| query | No | Keyword text matched against product names and categories (multi-term AND). Empty or omitted browses the whole catalog. | |
| category | No | Category name, exactly as `list_categories` reports it. | |
| in_stock_only | No | Keep only products with stock on hand. | |
| max_price_yen | No | Highest price to keep, in integer yen (inclusive). | |
| min_price_yen | No | Lowest price to keep, in integer yen (inclusive). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | The 1-based page number this response serves. | |
| total | Yes | Total matches for the same conditions. | |
| per_page | Yes | The page size in effect. | |
| products | Yes | The page's products, in result order. | |
| total_pages | Yes | Total number of pages at this page size. |