get_inventory_variant
Retrieve an inventory variant using its ID, exact variant name, or SKU. Handles duplicates by requiring product or category context.
Instructions
Get one inventory variant by ID, exact variant name, or exact SKU. If the name/SKU is duplicated, pass product or use the variant ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant | Yes | a string that will be trimmed | |
| product | No | a string that will be trimmed | |
| category | No | a string that will be trimmed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The successful tool result. The same value is also serialized as JSON in the text content for clients that do not read structuredContent. | |
| warnings | No | Optional agent-visible warnings about degraded result fidelity. Omitted when the server returned the documented happy-path payload. |