Record food or nutrition consumption

Action ID
actions.intent.RECORD_FOOD_OBSERVATION
Description
Record food or nutrition consumption information.
Example queries
Supported fields
foodObservation.@type
foodObservation.aboutFood.@type
foodObservation.aboutFood.name
foodObservation.aboutNutrient.@type
foodObservation.aboutNutrient.name
foodObservation.endTime
foodObservation.forMeal
foodObservation.startTime
foodObservation.value.@type
foodObservation.value.unitText
foodObservation.value.value
Supported text values by field


JSON-LD sample
[
  {
    "exampleValues": [
      {
        "@context": "http://schema.googleapis.com",
        "@type": "FoodObservation",
        "aboutFood": {
          "@type": "Food",
          "name": "Rice"
        },
        "aboutNutrient": {
          "@type": "Nutrient",
          "name": "Calcium"
        },
        "endTime": "2011-12-20T23:59:59",
        "forMeal": "http://schema.googleapis.com/MealTypeLunch",
        "startTime": "2011-12-20T00:00:00",
        "value": {
          "@type": "QuantitativeValue",
          "unitText": "Ounce",
          "value": "6"
        }
      }
    ],
    "name": "foodObservation",
    "schemaType": [
      "http://schema.googleapis.com/FoodObservation"
    ]
  }
]