generate_product_schema
Converts raw product data into a standardized, machine-readable schema for AI shopping agents, enabling search, comparison, and purchase actions.
Instructions
Generate a standardized agent-readable product listing.
Takes raw product data and generates a structured schema following the Agentic Product Protocol concept — making products machine-readable for AI shopping agents.
The output schema includes:
Unique identification
Structured attributes (name, brand, category)
Pricing with currency
Availability status
Specifications and nutrition
Agent action hints (comparable, purchasable)
Args: product_data: Raw product data dict with fields like name, price, description, category, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_data | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||