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.
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": {
"product_data": "<product_data>"
},
"name": "generate_product_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_data | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||