search_products_by_id
Retrieve product details by entering a specific product ID. Supports store-specific searches using a location ID. Returns a dictionary of matching products for quick access.
Instructions
Search for products by their specific product ID.
Args:
product_id: The product ID to search for
location_id: Store location ID (uses preferred location if not provided)
Returns:
Dictionary containing matching products
Input Schema
Name | Required | Description | Default |
---|---|---|---|
location_id | No | ||
product_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"location_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Location Id"
},
"product_id": {
"title": "Product Id",
"type": "string"
}
},
"required": [
"product_id"
],
"type": "object"
}