Get a Product by ID
get_product_by_idRetrieve a product's complete details by providing its numeric ID. Solves the need to access specific product information from the e-commerce catalog.
Instructions
Fetch a product's details using its unique ID(number).
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_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| sku | Yes | ||
| name | Yes | ||
| price | Yes | ||
| quantity | Yes | ||
| created_at | No | ||
| updated_at | No | ||
| description | No |