Get a product
get_productRetrieves a single product by ID or slug for product pages. Read-only; does not consume credits.
Instructions
Fetch a single product by id. Read-only; does not consume credits. Use when scaffolding a /products/[slug] page.
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": {
"id": "<id>"
},
"name": "get_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Product id (numeric) or slug (string). |