action spoonacular_search_grocery_products_by_upc { label: "Search Grocery Products by UPC" description: "Get information about a packaged food using its UPC." provider: spoonacular method: GET path: "/food/products/upc/{upc}" encoding: json input: { type: "object" properties: { upc: { type: "number" } } required: ["upc"] additionalProperties: false } output: { type: "object" required: ["badges", "breadcrumbs", "generatedText", "id", "imageType", "importantBadges", "ingredientList", "ingredients", "likes", "nutrition", "price", "servings", "spoonacularScore", "title"] properties: { badges: { type: "array" items: { type: "string" } } breadcrumbs: { type: "array" items: { type: "string" } } generatedText: { type: "string" } id: { type: "integer" } imageType: { type: "string" } importantBadges: { type: "array" items: { type: "string" } } ingredientCount: { type: "integer" } ingredientList: { type: "string" } ingredients: { type: "array" items: { type: "object" required: ["name"] properties: { description: { type: "object" } name: { type: "string" } safety_level: { type: "object" } } } } likes: { type: "number" } nutrition: { type: "object" required: ["caloricBreakdown", "nutrients"] properties: { caloricBreakdown: { type: "object" required: ["percentCarbs", "percentFat", "percentProtein"] properties: { percentCarbs: { type: "number" } percentFat: { type: "number" } percentProtein: { type: "number" } } } nutrients: { type: "array" items: { type: "object" required: ["name", "amount", "unit", "percentOfDailyNeeds"] properties: { amount: { type: "number" } name: { type: "string" } percentOfDailyNeeds: { type: "number" } unit: { type: "string" } } } } } } price: { type: "number" } servings: { type: "object" required: ["number", "size", "unit"] properties: { number: { type: "number" } size: { type: "number" } unit: { type: "string" } } } spoonacularScore: { type: "number" } title: { type: "string" } } } }