Talk to Claude.
Leave the bookkeeping to Tally.

Already tracking calories with Claude? Tally connects it to a proper food diary. Meals stay saved, calculations stay consistent, and a new chat can pick up where the last one left off.

Connect Claude

With your account in place, connect Tally to Claude so you can log in chat. You need a Claude account with access to connectors (Pro, Max or Team).

  1. 1

    Open connector settings in Claude

    claude.ai → Settings → Connectors and click “Add custom connector”.

    Claude settings: Add custom connector
  2. 2

    Paste Tally’s address

    Name it Tally, and paste the address:

    https://mcp.tallyday.dk/mcp
    Name the connector and enter its URL
  3. 3

    Connect and sign in

    Click “Connect” and sign in with your Tally account: the same email and password you signed up with. The account is also your dashboard login.

    Find Tally and click Connect

How it works

You write. Tally does the math.

Honest numbers, not guesses

Tally looks up the declaration (your own library first, otherwise the producer’s page), shows the calculation and asks if it looks right before anything is logged. Restaurant food gets an honest range.

Photo in, portion out

Snap a picture of your plate. Claude recognizes the dish and uses the plate, cutlery and known sizes as a reference to estimate the amount in grams. You see the math and can adjust before anything is logged.

Track anything

Medication, mood, soreness, sleep: say what you want to keep an eye on and Tally remembers it. With a Garmin watch, sleep, steps, heart rate and every workout detail follow along automatically.

Your data is yours

Everything is encrypted in the EU (Stockholm) and separated per user. Tally doesn’t sell data and shows no ads. Ask for an export, or full deletion, anytime.

Dashboard

Your day, in one place

Log in the chat, and see it all at tallyday.dk/app: today’s balance, sleep and steps from your watch, the receipt and your trends over time.

Tally dashboard demo with today's balance, activity, daily table and trends

For AI assistants & developers

MCP documentation

Connect your assistant to Tally to log nutrition, exercise and health metrics, manage meal plans, and read your own journal. One authenticated account connects chat and your dashboard.

Tools

Expand a tool for its purpose, inputs, response fields and full JSON schemas. Read tools retrieve data; write tools change stored records.

Getting started & profile

load_contextRead

Start every conversation with this read-only tool. Returns the authenticated user’s profile, saved preferences, configured trackers and today’s summary. A no_profile status directs new users to account setup in the app.

Inputs: none.

Response fields: status, identity, message, signup_url, profile, consent, memory, trackers, today, unfilled_days, query_journal_fields, hint. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {},
    "title": "load_contextInput",
    "type": "object"
  },
  "outputSchema": {
    "$defs": {
      "TodayBlock": {
        "additionalProperties": false,
        "properties": {
          "date": {
            "title": "Date",
            "type": "string"
          },
          "summary": {
            "additionalProperties": true,
            "title": "Summary",
            "type": "object"
          },
          "table": {
            "title": "Table",
            "type": "string"
          },
          "render_instruction": {
            "default": "Render the markdown table in `table` exactly as-is, complete and unchanged, at the end of your response. Never rebuild, reorder or summarize it.",
            "title": "Render Instruction",
            "type": "string"
          },
          "meals_logged": {
            "title": "Meals Logged",
            "type": "integer"
          },
          "exercise_logged": {
            "title": "Exercise Logged",
            "type": "integer"
          },
          "metrics_logged": {
            "title": "Metrics Logged",
            "type": "integer"
          }
        },
        "required": [
          "date",
          "summary",
          "table",
          "meals_logged",
          "exercise_logged",
          "metrics_logged"
        ],
        "title": "TodayBlock",
        "type": "object"
      }
    },
    "additionalProperties": false,
    "properties": {
      "status": {
        "title": "Status",
        "type": "string"
      },
      "identity": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Identity"
      },
      "message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Message"
      },
      "signup_url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Signup Url"
      },
      "profile": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Profile"
      },
      "consent": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Consent"
      },
      "memory": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Memory"
      },
      "trackers": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Trackers"
      },
      "today": {
        "anyOf": [
          {
            "$ref": "#/$defs/TodayBlock"
          },
          {
            "type": "null"
          }
        ],
        "default": null
      },
      "unfilled_days": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Unfilled Days"
      },
      "query_journal_fields": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Query Journal Fields"
      },
      "hint": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Hint"
      }
    },
    "required": [
      "status"
    ],
    "title": "LoadContextResponse",
    "type": "object"
  }
}
save_profileWrite

Create a profile programmatically and calculate BMR, TDEE and targets. New users must complete signup in the app first. TDEE methods are calculate, multiplier and typed. Positive deficit means a calorie reduction; protein, fat and fiber targets are minimums.

Inputs
ParameterTypeRequired / default
namestring | nullnull
sexstring | nullnull
ageinteger | nullnull
height_cmnumber | nullnull
weight_kgnumber | nullnull
tdee_methodstring | nullnull
tdee_givennumber | nullnull
baseline_stepsinteger | nullnull
bmr_overridenumber | nullnull
deficitnumber | null500
target_kcalnumber | nullnull
protein_minimum_target_gnumber | nullnull
kcal_per_extra_stepnumber | nullnull
tzstring | nullnull
countrystring | nullnull
job_activitystring | nullnull
include_stepsboolean | nullnull
activity_levelstring | nullnull
goal_rate_kg_per_weeknumber | nullnull
protein_g_per_kgnumber | nullnull
track_proteinboolean | nullnull
track_fatboolean | nullnull
track_fiberboolean | nullnull

Response fields: message, computed, profile, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Name"
      },
      "sex": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Sex"
      },
      "age": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Age"
      },
      "height_cm": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Height Cm"
      },
      "weight_kg": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Weight Kg"
      },
      "tdee_method": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Tdee Method"
      },
      "tdee_given": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Tdee Given"
      },
      "baseline_steps": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Baseline Steps"
      },
      "bmr_override": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Bmr Override"
      },
      "deficit": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": 500,
        "title": "Deficit"
      },
      "target_kcal": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Target Kcal"
      },
      "protein_minimum_target_g": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Protein Minimum Target G"
      },
      "kcal_per_extra_step": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Kcal Per Extra Step"
      },
      "tz": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Tz"
      },
      "country": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Country"
      },
      "job_activity": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Job Activity"
      },
      "include_steps": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Include Steps"
      },
      "activity_level": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Activity Level"
      },
      "goal_rate_kg_per_week": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Goal Rate Kg Per Week"
      },
      "protein_g_per_kg": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Protein G Per Kg"
      },
      "track_protein": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Track Protein"
      },
      "track_fat": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Track Fat"
      },
      "track_fiber": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Track Fiber"
      }
    },
    "title": "save_profileInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Message"
      },
      "computed": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Computed"
      },
      "profile": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Profile"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "ProfileWriteResponse",
    "type": "object"
  }
}
update_profileWrite

Update only the supplied profile fields and recalculate affected targets. A changed weight also creates today’s weigh-in. Use log_weight for a weigh-in with body-composition measurements.

Inputs
ParameterTypeRequired / default
weight_kgnumber | nullnull
height_cmnumber | nullnull
ageinteger | nullnull
tdee_methodstring | nullnull
tdee_givennumber | nullnull
baseline_stepsinteger | nullnull
bmr_overridenumber | nullnull
deficitnumber | nullnull
target_kcalnumber | nullnull
protein_minimum_target_gnumber | nullnull
kcal_per_extra_stepnumber | nullnull
tzstring | nullnull
countrystring | nullnull
job_activitystring | nullnull
include_stepsboolean | nullnull
activity_levelstring | nullnull
goal_rate_kg_per_weeknumber | nullnull
protein_g_per_kgnumber | nullnull
track_proteinboolean | nullnull
track_fatboolean | nullnull
track_fiberboolean | nullnull

Response fields: message, computed, profile, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "weight_kg": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Weight Kg"
      },
      "height_cm": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Height Cm"
      },
      "age": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Age"
      },
      "tdee_method": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Tdee Method"
      },
      "tdee_given": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Tdee Given"
      },
      "baseline_steps": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Baseline Steps"
      },
      "bmr_override": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Bmr Override"
      },
      "deficit": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Deficit"
      },
      "target_kcal": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Target Kcal"
      },
      "protein_minimum_target_g": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Protein Minimum Target G"
      },
      "kcal_per_extra_step": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Kcal Per Extra Step"
      },
      "tz": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Tz"
      },
      "country": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Country"
      },
      "job_activity": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Job Activity"
      },
      "include_steps": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Include Steps"
      },
      "activity_level": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Activity Level"
      },
      "goal_rate_kg_per_week": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Goal Rate Kg Per Week"
      },
      "protein_g_per_kg": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Protein G Per Kg"
      },
      "track_protein": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Track Protein"
      },
      "track_fat": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Track Fat"
      },
      "track_fiber": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Track Fiber"
      }
    },
    "title": "update_profileInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Message"
      },
      "computed": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Computed"
      },
      "profile": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Profile"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "ProfileWriteResponse",
    "type": "object"
  }
}

Daily logging & trackers

log_mealWrite

Log final meal totals after checking nutrition sources and confirming composite meal components. Components accept name, grams, kcal and macro fields. source is deklaration, web, estimat or bibliotek. eaten_at accepts HH:MM or an ISO datetime. meal_type is morgenmad, frokost, aftensmad or snack; omitted types are inferred and flagged in the response. New composite meals can be saved to the library. Attach images afterward in the app.

Inputs
ParameterTypeRequired / default
namestringRequired
kcalnumberRequired
protein_gnumber0
carbs_gnumber0
fat_gnumber0
fiber_gnumber0
componentsarray<object> | nullnull
notestring | nullnull
meal_typestring | nullnull
eaten_atstring | nullnull
sourcestring | nullnull
extraobject | nullnull
save_to_libraryboolean | nullnull
datestring | nullnull

Response fields: message, table, render_instruction, plan, saved_to_library, meal_type, meal_type_inferred. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "name": {
        "title": "Name",
        "type": "string"
      },
      "kcal": {
        "title": "Kcal",
        "type": "number"
      },
      "protein_g": {
        "default": 0,
        "title": "Protein G",
        "type": "number"
      },
      "carbs_g": {
        "default": 0,
        "title": "Carbs G",
        "type": "number"
      },
      "fat_g": {
        "default": 0,
        "title": "Fat G",
        "type": "number"
      },
      "fiber_g": {
        "default": 0,
        "title": "Fiber G",
        "type": "number"
      },
      "components": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Components"
      },
      "note": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Note"
      },
      "meal_type": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Meal Type"
      },
      "eaten_at": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Eaten At"
      },
      "source": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Source"
      },
      "extra": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Extra"
      },
      "save_to_library": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Save To Library"
      },
      "date": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Date"
      }
    },
    "required": [
      "name",
      "kcal"
    ],
    "title": "log_mealInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "title": "Message",
        "type": "string"
      },
      "table": {
        "title": "Table",
        "type": "string"
      },
      "render_instruction": {
        "default": "Render the markdown table in `table` exactly as-is, complete and unchanged, at the end of your response. Never rebuild, reorder or summarize it.",
        "title": "Render Instruction",
        "type": "string"
      },
      "plan": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Plan"
      },
      "saved_to_library": {
        "title": "Saved To Library",
        "type": "boolean"
      },
      "meal_type": {
        "title": "Meal Type",
        "type": "string"
      },
      "meal_type_inferred": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Meal Type Inferred"
      }
    },
    "required": [
      "message",
      "table",
      "saved_to_library",
      "meal_type"
    ],
    "title": "LogMealResponse",
    "type": "object"
  }
}
log_meal_from_libraryWrite

Find a saved meal by name or alias and log its stored nutrition. Scale with servings, or with grams when the saved reference uses weight. A meal saved in portions cannot be scaled with grams. Returns the resolved meal and updated daily table.

Inputs
ParameterTypeRequired / default
name_or_aliasstringRequired
servingsnumber1
gramsnumber | nullnull
meal_typestring | nullnull
eaten_atstring | nullnull
extraobject | nullnull
datestring | nullnull

Response fields: message, table, render_instruction, plan, meal_type, meal_type_inferred, error, suggestions. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "name_or_alias": {
        "title": "Name Or Alias",
        "type": "string"
      },
      "servings": {
        "default": 1,
        "title": "Servings",
        "type": "number"
      },
      "grams": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Grams"
      },
      "meal_type": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Meal Type"
      },
      "eaten_at": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Eaten At"
      },
      "extra": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Extra"
      },
      "date": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Date"
      }
    },
    "required": [
      "name_or_alias"
    ],
    "title": "log_meal_from_libraryInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Message"
      },
      "table": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Table"
      },
      "render_instruction": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Render Instruction"
      },
      "plan": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Plan"
      },
      "meal_type": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Meal Type"
      },
      "meal_type_inferred": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Meal Type Inferred"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      },
      "suggestions": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Suggestions"
      }
    },
    "title": "LogMealFromLibraryResponse",
    "type": "object"
  }
}
log_exerciseWrite

Log a completed activity with a positive kcal_burned value; the daily table subtracts it from food intake. source is manual, met_estimate or garmin. Use conservative estimates and confirm Garmin workouts before logging them. extra can hold tracker values.

Inputs
ParameterTypeRequired / default
activitystringRequired
kcal_burnednumberRequired
sourcestring"manual"
rawobject | nullnull
extraobject | nullnull
datestring | nullnull

Response fields: message, table, render_instruction, plan, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "activity": {
        "title": "Activity",
        "type": "string"
      },
      "kcal_burned": {
        "title": "Kcal Burned",
        "type": "number"
      },
      "source": {
        "default": "manual",
        "title": "Source",
        "type": "string"
      },
      "raw": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Raw"
      },
      "extra": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Extra"
      },
      "date": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Date"
      }
    },
    "required": [
      "activity",
      "kcal_burned"
    ],
    "title": "log_exerciseInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Message"
      },
      "table": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Table"
      },
      "render_instruction": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Render Instruction"
      },
      "plan": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Plan"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "LogExerciseResponse",
    "type": "object"
  }
}
log_weightWrite

Record body weight in kilograms, with optional body-fat percentage, muscle mass, skeletal muscle mass, source and extra measurements. Returns the updated day and weigh-in; it is available to trend queries.

Inputs
ParameterTypeRequired / default
weight_kgnumberRequired
body_fat_pctnumber | nullnull
muscle_kgnumber | nullnull
skeletal_muscle_kgnumber | nullnull
sourcestring | nullnull
extraobject | nullnull
datestring | nullnull

Response fields: message, table, render_instruction, plan, weight. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "weight_kg": {
        "title": "Weight Kg",
        "type": "number"
      },
      "body_fat_pct": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Body Fat Pct"
      },
      "muscle_kg": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Muscle Kg"
      },
      "skeletal_muscle_kg": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Skeletal Muscle Kg"
      },
      "source": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Source"
      },
      "extra": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Extra"
      },
      "date": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Date"
      }
    },
    "required": [
      "weight_kg"
    ],
    "title": "log_weightInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "title": "Message",
        "type": "string"
      },
      "table": {
        "title": "Table",
        "type": "string"
      },
      "render_instruction": {
        "default": "Render the markdown table in `table` exactly as-is, complete and unchanged, at the end of your response. Never rebuild, reorder or summarize it.",
        "title": "Render Instruction",
        "type": "string"
      },
      "plan": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Plan"
      },
      "weight": {
        "additionalProperties": true,
        "title": "Weight",
        "type": "object"
      }
    },
    "required": [
      "message",
      "table",
      "weight"
    ],
    "title": "LogWeightResponse",
    "type": "object"
  }
}
log_sessionWrite

Record how today’s training session felt, including type, optional RPE from 1 to 10, subjective feedback, notes and extra tracker values. This does not add an exercise calorie deduction; use log_exercise for burned calories.

Inputs
ParameterTypeRequired / default
typestringRequired
rpenumber | nullnull
feltstring | nullnull
notesstring | nullnull
extraobject | nullnull

Response fields: message, session, sessions_today. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "type": {
        "title": "Type",
        "type": "string"
      },
      "rpe": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Rpe"
      },
      "felt": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Felt"
      },
      "notes": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Notes"
      },
      "extra": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Extra"
      }
    },
    "required": [
      "type"
    ],
    "title": "log_sessionInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "title": "Message",
        "type": "string"
      },
      "session": {
        "additionalProperties": true,
        "title": "Session",
        "type": "object"
      },
      "sessions_today": {
        "title": "Sessions Today",
        "type": "integer"
      }
    },
    "required": [
      "message",
      "session",
      "sessions_today"
    ],
    "title": "LogSessionResponse",
    "type": "object"
  }
}
log_metricWrite

Record a number or short text value such as mood, soreness, medication or sleep quality. Configured trackers validate value types and ranges. For an ongoing new metric, confirm its type before configure_tracker. One-off metrics need no configuration.

Inputs
ParameterTypeRequired / default
namestringRequired
valueanyRequired
unitstring | nullnull
contextstring | nullnull
notestring | nullnull
extraobject | nullnull
datestring | nullnull

Response fields: message, table, render_instruction, metric, metrics_today, error, tracker. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "name": {
        "title": "Name",
        "type": "string"
      },
      "value": {
        "title": "Value"
      },
      "unit": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Unit"
      },
      "context": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Context"
      },
      "note": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Note"
      },
      "extra": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Extra"
      },
      "date": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Date"
      }
    },
    "required": [
      "name",
      "value"
    ],
    "title": "log_metricInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Message"
      },
      "table": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Table"
      },
      "render_instruction": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Render Instruction"
      },
      "metric": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Metric"
      },
      "metrics_today": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Metrics Today"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      },
      "tracker": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Tracker"
      }
    },
    "title": "LogMetricResponse",
    "type": "object"
  }
}
configure_trackerWrite

Create, update, deactivate or remove a custom tracker. value_type is quantity, scale, yes_no or text. Scale ratings default to 1–5 unless another range is requested. when can include before_exercise, after_exercise, with_meal, daily or adhoc. remove permanently removes the tracker configuration.

Inputs
ParameterTypeRequired / default
namestringRequired
value_typestring | nullnull
scale_minnumber | nullnull
scale_maxnumber | nullnull
scalestring | nullnull
unitstring | nullnull
whenarray<string> | nullnull
notesstring | nullnull
activebooleantrue
removebooleanfalse

Response fields: message, trackers, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "name": {
        "title": "Name",
        "type": "string"
      },
      "value_type": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Value Type"
      },
      "scale_min": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Scale Min"
      },
      "scale_max": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Scale Max"
      },
      "scale": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Scale"
      },
      "unit": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Unit"
      },
      "when": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "When"
      },
      "notes": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Notes"
      },
      "active": {
        "default": true,
        "title": "Active",
        "type": "boolean"
      },
      "remove": {
        "default": false,
        "title": "Remove",
        "type": "boolean"
      }
    },
    "required": [
      "name"
    ],
    "title": "configure_trackerInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Message"
      },
      "trackers": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Trackers"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "ConfigureTrackerResponse",
    "type": "object"
  }
}
delete_entryWrite

Remove a logged meal, exercise, session, metric or weight entry by kind and zero-based index, then recalculate the day. Read the day first to identify the correct index. Weight always has index 0. Confirm the removal before calling.

Inputs
ParameterTypeRequired / default
kindstringRequired
indexintegerRequired
datestring | nullnull

Response fields: message, table, render_instruction, removed, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "kind": {
        "title": "Kind",
        "type": "string"
      },
      "index": {
        "title": "Index",
        "type": "integer"
      },
      "date": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Date"
      }
    },
    "required": [
      "kind",
      "index"
    ],
    "title": "delete_entryInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Message"
      },
      "table": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Table"
      },
      "render_instruction": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Render Instruction"
      },
      "removed": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Removed"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "DeleteEntryResponse",
    "type": "object"
  }
}
get_entry_imagesRead

Return temporary signed view URLs for images attached to a logged meal, exercise, weigh-in, session or metric. Use an entry_id returned by day-summary or journal results. Upload and attach images through the app, not this tool.

Inputs
ParameterTypeRequired / default
entry_idstringRequired
datestring | nullnull

Response fields: images, message, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "entry_id": {
        "title": "Entry Id",
        "type": "string"
      },
      "date": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Date"
      }
    },
    "required": [
      "entry_id"
    ],
    "title": "get_entry_imagesInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "images": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Images"
      },
      "message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Message"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "EntryImagesResponse",
    "type": "object"
  }
}

Nutrition library

search_mealsRead

Search meals by fuzzy name or alias; an empty query lists saved items. Set collection to blocks to search reusable block templates and optionally filter by kind. Results include reference quantities and nutrition totals.

Inputs
ParameterTypeRequired / default
qstring""
collectionmeals | blocks"meals"
kindstring | nullnull

Response fields: count, meals, blocks. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "q": {
        "default": "",
        "title": "Q",
        "type": "string"
      },
      "collection": {
        "default": "meals",
        "enum": [
          "meals",
          "blocks"
        ],
        "title": "Collection",
        "type": "string"
      },
      "kind": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Kind"
      }
    },
    "title": "search_mealsInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "count": {
        "title": "Count",
        "type": "integer"
      },
      "meals": {
        "default": [],
        "items": {
          "additionalProperties": true,
          "type": "object"
        },
        "title": "Meals",
        "type": "array"
      },
      "blocks": {
        "default": [],
        "items": {
          "additionalProperties": true,
          "type": "object"
        },
        "title": "Blocks",
        "type": "array"
      }
    },
    "required": [
      "count"
    ],
    "title": "SearchMealsResponse",
    "type": "object"
  }
}
search_ingredientsRead

Search individual ingredients by fuzzy name or alias. An empty query lists saved ingredients. Results include reference quantities and nutrition; scale by requested amount divided by reference amount.

Inputs
ParameterTypeRequired / default
qstring""

Response fields: count, ingredients. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "q": {
        "default": "",
        "title": "Q",
        "type": "string"
      }
    },
    "title": "search_ingredientsInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "count": {
        "title": "Count",
        "type": "integer"
      },
      "ingredients": {
        "items": {
          "additionalProperties": true,
          "type": "object"
        },
        "title": "Ingredients",
        "type": "array"
      }
    },
    "required": [
      "count",
      "ingredients"
    ],
    "title": "SearchIngredientsResponse",
    "type": "object"
  }
}
save_mealWrite

Save a reusable meal without logging it. Supply flat nutrition for the reference quantity, or contents made from library references and inline ingredients. The server derives composite totals. contents items accept library_meal or library_ingredient with amount and unit, or name, amount, unit, nutrition and optional nested contents. Nesting is limited to three levels.

Inputs
ParameterTypeRequired / default
namestringRequired
kcalnumber | nullnull
protein_gnumber0
carbs_gnumber0
fat_gnumber0
fiber_gnumber0
contentsarray<object> | nullnull
componentsarray<object> | nullnull
aliasesarray<string> | nullnull
descstring | nullnull
is_presetbooleanfalse
perstring"portion"
reference_amountnumber | nullnull
reference_unitstring | nullnull

Response fields: message, meal, name_normalized, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "name": {
        "title": "Name",
        "type": "string"
      },
      "kcal": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Kcal"
      },
      "protein_g": {
        "default": 0,
        "title": "Protein G",
        "type": "number"
      },
      "carbs_g": {
        "default": 0,
        "title": "Carbs G",
        "type": "number"
      },
      "fat_g": {
        "default": 0,
        "title": "Fat G",
        "type": "number"
      },
      "fiber_g": {
        "default": 0,
        "title": "Fiber G",
        "type": "number"
      },
      "contents": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Contents"
      },
      "components": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Components"
      },
      "aliases": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Aliases"
      },
      "desc": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Desc"
      },
      "is_preset": {
        "default": false,
        "title": "Is Preset",
        "type": "boolean"
      },
      "per": {
        "default": "portion",
        "title": "Per",
        "type": "string"
      },
      "reference_amount": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Reference Amount"
      },
      "reference_unit": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Reference Unit"
      }
    },
    "required": [
      "name"
    ],
    "title": "save_mealInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Message"
      },
      "meal": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Meal"
      },
      "name_normalized": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Name Normalized"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "SaveMealResponse",
    "type": "object"
  }
}
save_ingredientWrite

Save or overwrite an ingredient’s verified reference nutrition. The default reference is 100 g; reference_amount and reference_unit can define another quantity. source is deklaration, web or estimat. Future portions scale from this reference.

Inputs
ParameterTypeRequired / default
namestringRequired
kcalnumberRequired
protein_gnumber0
carbs_gnumber0
fat_gnumber0
fiber_gnumber0
perstring"100g"
aliasesarray<string> | nullnull
descstring | nullnull
sourcestring | nullnull
reference_amountnumber | nullnull
reference_unitstring | nullnull

Response fields: message, ingredient, name_normalized, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "name": {
        "title": "Name",
        "type": "string"
      },
      "kcal": {
        "title": "Kcal",
        "type": "number"
      },
      "protein_g": {
        "default": 0,
        "title": "Protein G",
        "type": "number"
      },
      "carbs_g": {
        "default": 0,
        "title": "Carbs G",
        "type": "number"
      },
      "fat_g": {
        "default": 0,
        "title": "Fat G",
        "type": "number"
      },
      "fiber_g": {
        "default": 0,
        "title": "Fiber G",
        "type": "number"
      },
      "per": {
        "default": "100g",
        "title": "Per",
        "type": "string"
      },
      "aliases": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Aliases"
      },
      "desc": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Desc"
      },
      "source": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Source"
      },
      "reference_amount": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Reference Amount"
      },
      "reference_unit": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Reference Unit"
      }
    },
    "required": [
      "name",
      "kcal"
    ],
    "title": "save_ingredientInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Message"
      },
      "ingredient": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Ingredient"
      },
      "name_normalized": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Name Normalized"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "SaveIngredientResponse",
    "type": "object"
  }
}
save_blockWrite

Save a reusable group of meals without changing a journal day. kind is morgenmad, frokost, aftensmad, snack, pre_workout or post_workout. meals uses the same library-reference or inline-item format as save_meal contents. Place a saved template on a plan with save_plan_block.

Inputs
ParameterTypeRequired / default
namestringRequired
kindstringRequired
mealsarray<object>Required
aliasesarray<string> | nullnull
descstring | nullnull

Response fields: message, block, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "name": {
        "title": "Name",
        "type": "string"
      },
      "kind": {
        "title": "Kind",
        "type": "string"
      },
      "meals": {
        "items": {
          "additionalProperties": true,
          "type": "object"
        },
        "title": "Meals",
        "type": "array"
      },
      "aliases": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Aliases"
      },
      "desc": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Desc"
      }
    },
    "required": [
      "name",
      "kind",
      "meals"
    ],
    "title": "save_blockInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Message"
      },
      "block": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Block"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "SaveBlockResponse",
    "type": "object"
  }
}
update_library_itemWrite

Rename a meal, ingredient or block, or update its description and aliases. Renaming preserves the old name as an alias. aliases replaces the alias list; kind applies only to blocks. Use the corresponding save tool to change nutrition or contents.

Inputs
ParameterTypeRequired / default
collectionmeal | ingredient | blockRequired
namestringRequired
new_namestring | nullnull
descstring | nullnull
aliasesarray<string> | nullnull
kindstring | nullnull

Response fields: message, item, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "collection": {
        "enum": [
          "meal",
          "ingredient",
          "block"
        ],
        "title": "Collection",
        "type": "string"
      },
      "name": {
        "title": "Name",
        "type": "string"
      },
      "new_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "New Name"
      },
      "desc": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Desc"
      },
      "aliases": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Aliases"
      },
      "kind": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Kind"
      }
    },
    "required": [
      "collection",
      "name"
    ],
    "title": "update_library_itemInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Message"
      },
      "item": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Item"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "UpdateLibraryItemResponse",
    "type": "object"
  }
}
delete_library_itemWrite

Remove a meal, ingredient or block. With merge_into, merge its name and aliases into another item in the same collection; the survivor keeps its own nutrition. Previously logged days and saved plans are not rewritten. Confirm destructive changes before calling.

Inputs
ParameterTypeRequired / default
collectionmeal | ingredient | blockRequired
namestringRequired
merge_intostring | nullnull

Response fields: message, deleted, merged_into, survivor, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "collection": {
        "enum": [
          "meal",
          "ingredient",
          "block"
        ],
        "title": "Collection",
        "type": "string"
      },
      "name": {
        "title": "Name",
        "type": "string"
      },
      "merge_into": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Merge Into"
      }
    },
    "required": [
      "collection",
      "name"
    ],
    "title": "delete_library_itemInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Message"
      },
      "deleted": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Deleted"
      },
      "merged_into": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Merged Into"
      },
      "survivor": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Survivor"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "DeleteLibraryItemResponse",
    "type": "object"
  }
}

Summaries & analysis

get_day_summaryRead

Read a date’s complete structured summary and markdown table, including food, exercise, targets, net and remaining amounts. Omit date for today. A pending plan is identified separately. An incomplete past day can include fill options; missing food is not treated as zero.

Inputs
ParameterTypeRequired / default
datestring | nullnull

Response fields: date, summary, table, render_instruction, rows, steps, weight, sessions, excluded, label, estimated, fill, plan. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "date": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Date"
      }
    },
    "title": "get_day_summaryInput",
    "type": "object"
  },
  "outputSchema": {
    "$defs": {
      "DayRows": {
        "additionalProperties": false,
        "properties": {
          "meals": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Meals",
            "type": "array"
          },
          "exercise": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Exercise",
            "type": "array"
          },
          "metrics": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Metrics",
            "type": "array"
          }
        },
        "required": [
          "meals",
          "exercise",
          "metrics"
        ],
        "title": "DayRows",
        "type": "object"
      }
    },
    "additionalProperties": false,
    "properties": {
      "date": {
        "title": "Date",
        "type": "string"
      },
      "summary": {
        "additionalProperties": true,
        "title": "Summary",
        "type": "object"
      },
      "table": {
        "title": "Table",
        "type": "string"
      },
      "render_instruction": {
        "default": "Render the markdown table in `table` exactly as-is, complete and unchanged, at the end of your response. Never rebuild, reorder or summarize it.",
        "title": "Render Instruction",
        "type": "string"
      },
      "rows": {
        "$ref": "#/$defs/DayRows"
      },
      "steps": {
        "title": "Steps",
        "type": "integer"
      },
      "weight": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Weight"
      },
      "sessions": {
        "items": {
          "additionalProperties": true,
          "type": "object"
        },
        "title": "Sessions",
        "type": "array"
      },
      "excluded": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Excluded"
      },
      "label": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Label"
      },
      "estimated": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Estimated"
      },
      "fill": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Fill"
      },
      "plan": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Plan"
      }
    },
    "required": [
      "date",
      "summary",
      "table",
      "rows",
      "steps",
      "weight",
      "sessions"
    ],
    "title": "DaySummaryResponse",
    "type": "object"
  }
}
close_dayWrite

Return a final recap and save optional extra information or a day label. label is target, vedligehold, cheat or an empty string to clear it. exclude marks a day outside adherence averages; an empty string clears that mark. Real data remains visible. Clearing the label on an estimated filled day undoes that fill.

Inputs
ParameterTypeRequired / default
extraobject | nullnull
datestring | nullnull
excludestring | nullnull
labeltarget | vedligehold | cheat | | nullnull

Response fields: message, table, render_instruction, journal, excluded, label, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "extra": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Extra"
      },
      "date": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Date"
      },
      "exclude": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Exclude"
      },
      "label": {
        "anyOf": [
          {
            "enum": [
              "target",
              "vedligehold",
              "cheat",
              ""
            ],
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Label"
      }
    },
    "title": "close_dayInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "title": "Message",
        "type": "string"
      },
      "table": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Table"
      },
      "render_instruction": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Render Instruction"
      },
      "journal": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Journal"
      },
      "excluded": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Excluded"
      },
      "label": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Label"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "required": [
      "message"
    ],
    "title": "CloseDayResponse",
    "type": "object"
  }
}
fill_dayWrite

Estimate missing food for a past day while preserving real entries. level is target, vedligehold (maintenance) or cheat. cheat_size is lille (+500 kcal), typisk (+1500) or stor (+3000), or use cheat_kcal for a custom surplus above maintenance. Optional exercise is logged before sizing the estimate. Repeating replaces the previous fill; count_in_averages controls adherence inclusion.

Inputs
ParameterTypeRequired / default
datestringRequired
leveltarget | vedligehold | cheatRequired
cheat_sizelille | typisk | stor | nullnull
exercise_activitystring | nullnull
exercise_kcalnumber | nullnull
count_in_averagesbooleantrue
cheat_kcalnumber | nullnull

Response fields: message, table, render_instruction, label, estimated, excluded, estimate_row, exercise_row, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "date": {
        "title": "Date",
        "type": "string"
      },
      "level": {
        "enum": [
          "target",
          "vedligehold",
          "cheat"
        ],
        "title": "Level",
        "type": "string"
      },
      "cheat_size": {
        "anyOf": [
          {
            "enum": [
              "lille",
              "typisk",
              "stor"
            ],
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Cheat Size"
      },
      "exercise_activity": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Exercise Activity"
      },
      "exercise_kcal": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Exercise Kcal"
      },
      "count_in_averages": {
        "default": true,
        "title": "Count In Averages",
        "type": "boolean"
      },
      "cheat_kcal": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Cheat Kcal"
      }
    },
    "required": [
      "date",
      "level"
    ],
    "title": "fill_dayInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Message"
      },
      "table": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Table"
      },
      "render_instruction": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Render Instruction"
      },
      "label": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Label"
      },
      "estimated": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Estimated"
      },
      "excluded": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Excluded"
      },
      "estimate_row": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Estimate Row"
      },
      "exercise_row": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Exercise Row"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "FillDayResponse",
    "type": "object"
  }
}
get_energy_balanceRead

Compare net intake with the target (basis=target) or maintenance (basis=tdee). Use window 3d, 7d, uge-til-nu, 14d, 1md, md-til-nu or siden-sidste-vejning, or supply both start and end. Negative balance means below the reference. Historical targets remain date-specific. Missing-food days, today and explicitly excluded days do not contribute to balance averages.

Inputs
ParameterTypeRequired / default
windowstring"7d"
startstring | nullnull
endstring | nullnull
basisstring"target"

Response fields: window, target_kcal, tdee_kcal, basis, balance_kcal, avg_balance_kcal, buffer, days, summary, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "window": {
        "default": "7d",
        "title": "Window",
        "type": "string"
      },
      "start": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Start"
      },
      "end": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "End"
      },
      "basis": {
        "default": "target",
        "title": "Basis",
        "type": "string"
      }
    },
    "title": "get_energy_balanceInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "window": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Window"
      },
      "target_kcal": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Target Kcal"
      },
      "tdee_kcal": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Tdee Kcal"
      },
      "basis": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Basis"
      },
      "balance_kcal": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Balance Kcal"
      },
      "avg_balance_kcal": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Avg Balance Kcal"
      },
      "buffer": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Buffer"
      },
      "days": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Days"
      },
      "summary": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Summary"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "EnergyBalanceResponse",
    "type": "object"
  }
}
get_trendRead

Read a dated series for weight, net_kcal, protein or body_fat_pct. days selects recent journal days. Food metrics skip days without logged meals. Excluded days remain tagged in the series; all weigh-ins remain visible.

Inputs
ParameterTypeRequired / default
daysinteger14
metricstring"weight"

Response fields: metric, days, points, series, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "days": {
        "default": 14,
        "title": "Days",
        "type": "integer"
      },
      "metric": {
        "default": "weight",
        "title": "Metric",
        "type": "string"
      }
    },
    "title": "get_trendInput",
    "type": "object"
  },
  "outputSchema": {
    "$defs": {
      "TrendPoint": {
        "additionalProperties": false,
        "properties": {
          "date": {
            "title": "Date",
            "type": "string"
          },
          "value": {
            "title": "Value",
            "type": "number"
          },
          "excluded": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Excluded"
          }
        },
        "required": [
          "date",
          "value"
        ],
        "title": "TrendPoint",
        "type": "object"
      }
    },
    "additionalProperties": false,
    "properties": {
      "metric": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Metric"
      },
      "days": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Days"
      },
      "points": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Points"
      },
      "series": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/$defs/TrendPoint"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Series"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "TrendResponse",
    "type": "object"
  }
}
query_journalRead

Run a read-only query over the authenticated user’s journal. filter_json supports equality and $gte, $lte, $gt, $lt, $in, $ne and $exists; write operators are rejected. projection selects fields and limit caps results. Discover supported journal fields through load_context.

Inputs
ParameterTypeRequired / default
filter_jsonobjectRequired
projectionobject | nullnull
limitinteger60

Response fields: count, results, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "filter_json": {
        "additionalProperties": true,
        "title": "Filter Json",
        "type": "object"
      },
      "projection": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Projection"
      },
      "limit": {
        "default": 60,
        "title": "Limit",
        "type": "integer"
      }
    },
    "required": [
      "filter_json"
    ],
    "title": "query_journalInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "count": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Count"
      },
      "results": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Results"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "QueryJournalResponse",
    "type": "object"
  }
}

Day planning

get_planRead

Read a proposed day’s food blocks, meals, ingredient quantities, motion and calculated totals. Returns status empty if no plan exists. Plans are separate from logged days until commit_plan is called.

Inputs
ParameterTypeRequired / default
datestringRequired

Response fields: date, status, blocks, motion, totals. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "date": {
        "title": "Date",
        "type": "string"
      }
    },
    "required": [
      "date"
    ],
    "title": "get_planInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "date": {
        "title": "Date",
        "type": "string"
      },
      "status": {
        "title": "Status",
        "type": "string"
      },
      "blocks": {
        "items": {
          "additionalProperties": true,
          "type": "object"
        },
        "title": "Blocks",
        "type": "array"
      },
      "motion": {
        "items": {
          "additionalProperties": true,
          "type": "object"
        },
        "title": "Motion",
        "type": "array"
      },
      "totals": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Totals"
      }
    },
    "required": [
      "date",
      "status",
      "blocks",
      "totals"
    ],
    "title": "PlanResponse",
    "type": "object"
  }
}
save_plan_blockWrite

Add or replace a food block on a date’s plan. kind is morgenmad, frokost, aftensmad, snack, pre_workout or post_workout. Use library_block for a saved template, meals for library references or inline items, or both. Pass block_id to edit an existing block; the server rescales nutrition when quantities change.

Inputs
ParameterTypeRequired / default
datestringRequired
kindstringRequired
namestring | nullnull
block_idstring | nullnull
library_blockstring | nullnull
mealsarray<object> | nullnull
notestring | nullnull

Response fields: date, blocks, motion, totals, block_id, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "date": {
        "title": "Date",
        "type": "string"
      },
      "kind": {
        "title": "Kind",
        "type": "string"
      },
      "name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Name"
      },
      "block_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Block Id"
      },
      "library_block": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Library Block"
      },
      "meals": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Meals"
      },
      "note": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Note"
      }
    },
    "required": [
      "date",
      "kind"
    ],
    "title": "save_plan_blockInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "date": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Date"
      },
      "blocks": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Blocks"
      },
      "motion": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Motion"
      },
      "totals": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Totals"
      },
      "block_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Block Id"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "SavePlanBlockResponse",
    "type": "object"
  }
}
save_plan_motionWrite

Add a planned activity with positive kcal_burned. Pass motion_id to replace an existing activity; omit it to append. Planned activity is separate from completed exercise and does not affect the logged day until the plan is committed.

Inputs
ParameterTypeRequired / default
datestringRequired
activitystringRequired
kcal_burnednumberRequired
motion_idstring | nullnull
notestring | nullnull

Response fields: date, blocks, motion, totals, motion_id, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "date": {
        "title": "Date",
        "type": "string"
      },
      "activity": {
        "title": "Activity",
        "type": "string"
      },
      "kcal_burned": {
        "title": "Kcal Burned",
        "type": "number"
      },
      "motion_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Motion Id"
      },
      "note": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Note"
      }
    },
    "required": [
      "date",
      "activity",
      "kcal_burned"
    ],
    "title": "save_plan_motionInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "date": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Date"
      },
      "blocks": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Blocks"
      },
      "motion": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Motion"
      },
      "totals": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Totals"
      },
      "motion_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Motion Id"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "SavePlanMotionResponse",
    "type": "object"
  }
}
clear_planWrite

Remove the whole plan for a date, or only the supplied block_id and/or motion_id. Does not remove journal entries or library items. Confirm the intended removal before calling.

Inputs
ParameterTypeRequired / default
datestringRequired
block_idstring | nullnull
motion_idstring | nullnull

Response fields: date, cleared, removed, blocks, motion, totals, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "date": {
        "title": "Date",
        "type": "string"
      },
      "block_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Block Id"
      },
      "motion_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Motion Id"
      }
    },
    "required": [
      "date"
    ],
    "title": "clear_planInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "date": {
        "title": "Date",
        "type": "string"
      },
      "cleared": {
        "title": "Cleared",
        "type": "boolean"
      },
      "removed": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Removed"
      },
      "blocks": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Blocks"
      },
      "motion": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Motion"
      },
      "totals": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Totals"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "required": [
      "date",
      "cleared"
    ],
    "title": "ClearPlanResponse",
    "type": "object"
  }
}
commit_planWrite

Convert a proposed plan into logged meals and exercise for the same date, then remove the plan. Refuses a date that already has a logged day unless force=true. Confirm before committing, especially when overriding that protection. Returns the committed daily table.

Inputs
ParameterTypeRequired / default
datestringRequired
forcebooleanfalse

Response fields: committed, date, summary, table, render_instruction, blocks_logged, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "date": {
        "title": "Date",
        "type": "string"
      },
      "force": {
        "default": false,
        "title": "Force",
        "type": "boolean"
      }
    },
    "required": [
      "date"
    ],
    "title": "commit_planInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "committed": {
        "title": "Committed",
        "type": "boolean"
      },
      "date": {
        "title": "Date",
        "type": "string"
      },
      "summary": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Summary"
      },
      "table": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Table"
      },
      "render_instruction": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Render Instruction"
      },
      "blocks_logged": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Blocks Logged"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "required": [
      "committed",
      "date"
    ],
    "title": "CommitPlanResponse",
    "type": "object"
  }
}

Garmin

sync_garminSync

Refresh the connected user’s Garmin data and return recent workouts. days defaults to 2 and supports backfills up to 31 days. Sync retrieves data; it does not log workouts as calorie deductions. Confirm an activity before calling log_exercise.

Inputs
ParameterTypeRequired / default
daysinteger2

Response fields: synced_days, synced_activities, sync_errors, latest_workouts, hint, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "days": {
        "default": 2,
        "title": "Days",
        "type": "integer"
      }
    },
    "title": "sync_garminInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "synced_days": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Synced Days"
      },
      "synced_activities": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Synced Activities"
      },
      "sync_errors": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Sync Errors"
      },
      "latest_workouts": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Latest Workouts"
      },
      "hint": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Hint"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "SyncGarminResponse",
    "type": "object"
  }
}
get_garmin_workoutsRead

Read synced workouts, newest first, or pass activity_id for one workout’s detailed splits and training data. include_series adds interval summaries and a downsampled heart-rate, pace and power curve, requiring a working Garmin connection. series_points defaults to 120 and is clamped to 20–600.

Inputs
ParameterTypeRequired / default
startstring | nullnull
endstring | nullnull
limitinteger10
activity_idstring | nullnull
include_seriesbooleanfalse
series_pointsinteger120

Response fields: count, workouts, activity, hint, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "start": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Start"
      },
      "end": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "End"
      },
      "limit": {
        "default": 10,
        "title": "Limit",
        "type": "integer"
      },
      "activity_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Activity Id"
      },
      "include_series": {
        "default": false,
        "title": "Include Series",
        "type": "boolean"
      },
      "series_points": {
        "default": 120,
        "title": "Series Points",
        "type": "integer"
      }
    },
    "title": "get_garmin_workoutsInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "count": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Count"
      },
      "workouts": {
        "anyOf": [
          {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Workouts"
      },
      "activity": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Activity"
      },
      "hint": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Hint"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "GarminWorkoutsResponse",
    "type": "object"
  }
}
get_garmin_dayRead

Read stored daily Garmin metrics such as steps, resting heart rate, sleep, stress, body battery and energy. Call sync_garmin first for fresh data. Missing measurements can be null. Connect or reconnect Garmin through the app when required.

Inputs
ParameterTypeRequired / default
datestring | nullnull

Response fields: date, steps, resting_hr, active_kcal, total_kcal, sleep_hours, sleep_score, stress_avg, body_battery_high, body_battery_low, intensity_minutes, hint, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "date": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Date"
      }
    },
    "title": "get_garmin_dayInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": true,
    "properties": {
      "date": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Date"
      },
      "steps": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Steps"
      },
      "resting_hr": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Resting Hr"
      },
      "active_kcal": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Active Kcal"
      },
      "total_kcal": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Total Kcal"
      },
      "sleep_hours": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Sleep Hours"
      },
      "sleep_score": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Sleep Score"
      },
      "stress_avg": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Stress Avg"
      },
      "body_battery_high": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Body Battery High"
      },
      "body_battery_low": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Body Battery Low"
      },
      "intensity_minutes": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Intensity Minutes"
      },
      "hint": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Hint"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "GarminDayResponse",
    "type": "object"
  }
}

Memory & feedback

get_memoryRead

Read persistent instructions, preferences or insights as markdown. Omit kind to retrieve all three. These documents are already included in load_context.

Inputs
ParameterTypeRequired / default
kindstring""

Response fields: kind, content_md, instructions, preferences, insights, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "kind": {
        "default": "",
        "title": "Kind",
        "type": "string"
      }
    },
    "title": "get_memoryInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "kind": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Kind"
      },
      "content_md": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Content Md"
      },
      "instructions": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Instructions"
      },
      "preferences": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Preferences"
      },
      "insights": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Insights"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "GetMemoryResponse",
    "type": "object"
  }
}
update_memoryWrite

Persist a requested change to instructions, preferences or insights. content_md is markdown; mode is replace or append. Update only when the user has requested an actual change.

Inputs
ParameterTypeRequired / default
kindstringRequired
content_mdstringRequired
modestring"replace"

Response fields: message, kind, length, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "properties": {
      "kind": {
        "title": "Kind",
        "type": "string"
      },
      "content_md": {
        "title": "Content Md",
        "type": "string"
      },
      "mode": {
        "default": "replace",
        "title": "Mode",
        "type": "string"
      }
    },
    "required": [
      "kind",
      "content_md"
    ],
    "title": "update_memoryInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Message"
      },
      "kind": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Kind"
      },
      "length": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Length"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "UpdateMemoryResponse",
    "type": "object"
  }
}
submit_feedbackWrite

Submit a feature_request, bug or eval_case. text describes the issue. eval_case requires the verbatim conversation as role/text messages; expected describes the desired result. Obtain consent before including conversation text. context can include structured diagnostic information.

Inputs
ParameterTypeRequired / default
textstringRequired
kindfeature_request | bug | eval_caseRequired
conversationarray<ConversationMessage> | nullnull
expectedstring | nullnull
contextobject | nullnull

Response fields: message, id, kind, error. Optional fields depend on the result.

Full input and output schemas
{
  "inputSchema": {
    "$defs": {
      "ConversationMessage": {
        "properties": {
          "role": {
            "enum": [
              "user",
              "assistant"
            ],
            "title": "Role",
            "type": "string"
          },
          "text": {
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "role",
          "text"
        ],
        "title": "ConversationMessage",
        "type": "object"
      }
    },
    "properties": {
      "text": {
        "title": "Text",
        "type": "string"
      },
      "kind": {
        "enum": [
          "feature_request",
          "bug",
          "eval_case"
        ],
        "title": "Kind",
        "type": "string"
      },
      "conversation": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/$defs/ConversationMessage"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Conversation"
      },
      "expected": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Expected"
      },
      "context": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Context"
      }
    },
    "required": [
      "text",
      "kind"
    ],
    "title": "submit_feedbackInput",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "message": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Message"
      },
      "id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Id"
      },
      "kind": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Kind"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "title": "Error"
      }
    },
    "title": "FeedbackResponse",
    "type": "object"
  }
}