action spoonacular_image_analysis_by_url { label: "Image Analysis by URL" description: "Analyze a food image. The API tries to classify the image, guess the nutrition, and find a matching recipes." provider: spoonacular method: GET path: "/food/images/analyze" encoding: json input: { type: "object" properties: { imageUrl: { type: "string" } } required: ["imageUrl"] additionalProperties: false } output: { type: "object" required: ["category", "nutrition", "recipes"] properties: { category: { type: "object" required: ["name", "probability"] properties: { name: { type: "string" } probability: { type: "number" } } } nutrition: { type: "object" required: ["calories", "carbs", "fat", "protein", "recipesUsed"] properties: { calories: { type: "object" required: ["confidenceRange95Percent", "standardDeviation", "unit", "value"] properties: { confidenceRange95Percent: { type: "object" required: ["max", "min"] properties: { max: { type: "number" } min: { type: "number" } } } standardDeviation: { type: "number" } unit: { type: "string" } value: { type: "number" } } } carbs: { type: "object" required: ["confidenceRange95Percent", "standardDeviation", "unit", "value"] properties: { confidenceRange95Percent: { type: "object" required: ["max", "min"] properties: { max: { type: "number" } min: { type: "number" } } } standardDeviation: { type: "number" } unit: { type: "string" } value: { type: "number" } } } fat: { type: "object" required: ["confidenceRange95Percent", "standardDeviation", "unit", "value"] properties: { confidenceRange95Percent: { type: "object" required: ["max", "min"] properties: { max: { type: "number" } min: { type: "number" } } } standardDeviation: { type: "number" } unit: { type: "string" } value: { type: "number" } } } protein: { type: "object" required: ["confidenceRange95Percent", "standardDeviation", "unit", "value"] properties: { confidenceRange95Percent: { type: "object" required: ["max", "min"] properties: { max: { type: "number" } min: { type: "number" } } } standardDeviation: { type: "number" } unit: { type: "string" } value: { type: "number" } } } recipesUsed: { type: "integer" } } } recipes: { type: "array" items: { type: "object" required: ["id", "title", "imageType", "url"] properties: { id: { type: "integer" } imageType: { type: "string" } title: { type: "string" } url: { type: "string" } } } } } } }