{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mcp.mysouschef.app",
    "site": "mysouschef.app",
    "addresses": [
      {
        "address": "104.21.87.73",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.64.0/19",
          "country": "US"
        }
      },
      {
        "address": "172.67.142.88",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.128.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3031::6815:5749",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3031::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3036::ac43:8e58",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3036::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.21.87.73",
          "172.67.142.88",
          "2606:4700:3031::6815:5749",
          "2606:4700:3036::ac43:8e58"
        ],
        "first_seen": "2026-11-22T07:04:04.501Z",
        "last_seen": "2026-11-23T07:05:03.279Z",
        "checks": 2
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "Sous Chef",
      "version": "0.2.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1,
      "sample": [
        {
          "id": "31282",
          "url": "https://alertforge.ai/api/mcp",
          "server_name": "io.github.lasan713/alertforge",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T20:18:03.253Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "app.mysouschef",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/mysouschef/sous-chef-mcp",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "3645",
    "server_name": "app.mysouschef/sous-chef",
    "url": "https://mcp.mysouschef.app/mcp",
    "host": "mcp.mysouschef.app",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T07:05:03.279Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "ce9d21c5b9d5246aa8941bcec565c9ee1da831a42c9160abac61d0e153b2532b",
    "first_listed_at": "2026-11-21T05:54:00.725Z",
    "created_at": "2026-11-21T04:50:08.651Z",
    "resolved_addresses": [
      "104.21.87.73",
      "172.67.142.88",
      "2606:4700:3031::6815:5749",
      "2606:4700:3036::ac43:8e58"
    ]
  },
  "server": {
    "name": "app.mysouschef/sous-chef",
    "title": "Sous Chef",
    "description": "Save, import and edit recipes as interactive cards in ChatGPT and Claude, synced to your iPhone.",
    "version": "1.0.0",
    "registry_status": "active",
    "repository_url": "https://github.com/mysouschef/sous-chef-mcp",
    "website_url": "https://mysouschef.app/mcp/",
    "published_at": "2026-11-04T18:59:31.473Z",
    "updated_at": "2026-11-04T18:59:31.473Z",
    "first_seen": "2026-11-21T04:50:08.025Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T14:57:07.675Z"
  },
  "operator": {
    "key": "mysouschef.app",
    "name": "mysouschef.app",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 496,
    "first_check_in_window": "2026-11-21T05:54:00.725Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "ce9d21c5b9d5246aa8941bcec565c9ee1da831a42c9160abac61d0e153b2532b",
    "tools": 11,
    "resources": 1,
    "prompts": 7,
    "first_seen": "2026-11-21T05:54:01.221Z",
    "tool_names": [
      "health_check",
      "list_my_recipes",
      "display_recipe",
      "get_recipe",
      "add_recipe",
      "update_recipe",
      "apply_recipe_patches",
      "revert_recipe_edit",
      "set_measurement_system",
      "delete_recipe",
      "share_recipe"
    ],
    "declared": {
      "tools": [
        {
          "name": "health_check",
          "title": "Health Check",
          "description": "Confirm the Sous Chef MCP server is reachable.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "ok",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "ok": {
                    "type": "boolean"
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "ok",
                  "code",
                  "message",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "ok": {
                    "type": "boolean",
                    "const": false
                  },
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_my_recipes",
          "title": "List My Recipes",
          "description": "List the authenticated user's saved Sous Chef recipes. Use this before editing when the user refers to a recipe by name instead of id.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "recipes",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "recipes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "title",
                        "summary"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "summary": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "ok",
                  "code",
                  "message",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "ok": {
                    "type": "boolean",
                    "const": false
                  },
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "display_recipe",
          "title": "Display Recipe",
          "description": "Presents a complete recipe in Sous Chef's interactive recipe card (servings, ingredients, steps, cooking mode, validated edits, Undo). Prefer this over plain chat formatting whenever you generate, retrieve, or substantially revise a full recipe — including ordinary requests like 'give me a vegan mushroom carbonara' or 'make a quick dinner for two'. Displaying is temporary: it renders the card without saving it or creating a cooking session; saving only happens through add_recipe when the user asks.",
          "inputSchema": {
            "type": "object",
            "required": [
              "recipe"
            ],
            "properties": {
              "recipe": {
                "type": "object",
                "required": [
                  "id",
                  "title",
                  "meta",
                  "ingredients",
                  "steps",
                  "notes"
                ],
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "meta": {
                    "type": "object",
                    "properties": {
                      "meal": {
                        "type": "string"
                      },
                      "course": {
                        "type": "string"
                      },
                      "cuisine": {
                        "type": "string"
                      },
                      "yieldText": {
                        "type": "string"
                      },
                      "cookTimeMin": {
                        "type": "number"
                      },
                      "prepTimeMin": {
                        "type": "number"
                      },
                      "totalTimeMin": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  },
                  "tags": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "steps": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "body": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "section": {
                          "type": "string"
                        },
                        "substeps": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "text"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "timerMin": {
                                "type": "number"
                              },
                              "timerLabel": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          }
                        },
                        "timerMin": {
                          "type": "number"
                        },
                        "ingredientIds": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "title": {
                    "type": "string"
                  },
                  "images": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "summary": {
                    "type": "string"
                  },
                  "subtitle": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "ingredients": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "note": {
                          "type": "string"
                        },
                        "unit": {
                          "type": "string"
                        },
                        "section": {
                          "type": "string"
                        },
                        "quantity": {
                          "type": "number"
                        },
                        "unitSystem": {
                          "enum": [
                            "metric",
                            "imperial",
                            "count",
                            "other"
                          ],
                          "type": "string"
                        },
                        "preparation": {
                          "type": "string"
                        },
                        "quantityText": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "recipe",
                  "saved",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "saved": {
                    "type": "boolean",
                    "const": false
                  },
                  "recipe": {
                    "type": "object",
                    "required": [
                      "id",
                      "title",
                      "meta",
                      "ingredients",
                      "steps",
                      "notes"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "type": "object",
                        "properties": {
                          "meal": {
                            "type": "string"
                          },
                          "course": {
                            "type": "string"
                          },
                          "cuisine": {
                            "type": "string"
                          },
                          "yieldText": {
                            "type": "string"
                          },
                          "cookTimeMin": {
                            "type": "number"
                          },
                          "prepTimeMin": {
                            "type": "number"
                          },
                          "totalTimeMin": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      },
                      "tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "notes": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "steps": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "body": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "substeps": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "text"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "text": {
                                    "type": "string"
                                  },
                                  "timerMin": {
                                    "type": "number"
                                  },
                                  "timerLabel": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "timerMin": {
                              "type": "number"
                            },
                            "ingredientIds": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "title": {
                        "type": "string"
                      },
                      "images": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "summary": {
                        "type": "string"
                      },
                      "subtitle": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "ingredients": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            },
                            "unit": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "number"
                            },
                            "unitSystem": {
                              "enum": [
                                "metric",
                                "imperial",
                                "count",
                                "other"
                              ],
                              "type": "string"
                            },
                            "preparation": {
                              "type": "string"
                            },
                            "quantityText": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "ok",
                  "code",
                  "message",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "ok": {
                    "type": "boolean",
                    "const": false
                  },
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_recipe",
          "title": "Get Recipe",
          "description": "Returns the saved canonical recipe from your library or the public catalog. In-progress cooking edits live in sessions and are not returned here.",
          "inputSchema": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "recipe",
                  "saved",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "saved": {
                    "type": "boolean"
                  },
                  "recipe": {
                    "type": "object",
                    "required": [
                      "id",
                      "title",
                      "meta",
                      "ingredients",
                      "steps",
                      "notes"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "type": "object",
                        "properties": {
                          "meal": {
                            "type": "string"
                          },
                          "course": {
                            "type": "string"
                          },
                          "cuisine": {
                            "type": "string"
                          },
                          "yieldText": {
                            "type": "string"
                          },
                          "cookTimeMin": {
                            "type": "number"
                          },
                          "prepTimeMin": {
                            "type": "number"
                          },
                          "totalTimeMin": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      },
                      "tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "notes": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "steps": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "body": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "substeps": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "text"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "text": {
                                    "type": "string"
                                  },
                                  "timerMin": {
                                    "type": "number"
                                  },
                                  "timerLabel": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "timerMin": {
                              "type": "number"
                            },
                            "ingredientIds": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "title": {
                        "type": "string"
                      },
                      "images": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "summary": {
                        "type": "string"
                      },
                      "subtitle": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "ingredients": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            },
                            "unit": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "number"
                            },
                            "unitSystem": {
                              "enum": [
                                "metric",
                                "imperial",
                                "count",
                                "other"
                              ],
                              "type": "string"
                            },
                            "preparation": {
                              "type": "string"
                            },
                            "quantityText": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "ok",
                  "code",
                  "message",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "ok": {
                    "type": "boolean",
                    "const": false
                  },
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "add_recipe",
          "title": "Add Recipe",
          "description": "Creates a NEW recipe in your library only when the user explicitly asks to save/add it or taps Save in the recipe card. For a newly generated recipe the user has not chosen to keep, use display_recipe instead. Does not update existing recipes — to change a saved recipe use update_recipe. To make cooking-time tweaks use apply_recipe_patches. The server mints the stored import-* or ai-* recipe id; any caller-supplied recipe.id is treated only as source payload and is not used for upsert.",
          "inputSchema": {
            "type": "object",
            "required": [
              "recipe"
            ],
            "properties": {
              "recipe": {
                "type": "object",
                "required": [
                  "id",
                  "title",
                  "meta",
                  "ingredients",
                  "steps",
                  "notes"
                ],
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "meta": {
                    "type": "object",
                    "properties": {
                      "meal": {
                        "type": "string"
                      },
                      "course": {
                        "type": "string"
                      },
                      "cuisine": {
                        "type": "string"
                      },
                      "yieldText": {
                        "type": "string"
                      },
                      "cookTimeMin": {
                        "type": "number"
                      },
                      "prepTimeMin": {
                        "type": "number"
                      },
                      "totalTimeMin": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  },
                  "tags": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "steps": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "body": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "section": {
                          "type": "string"
                        },
                        "substeps": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "text"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "timerMin": {
                                "type": "number"
                              },
                              "timerLabel": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          }
                        },
                        "timerMin": {
                          "type": "number"
                        },
                        "ingredientIds": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "title": {
                    "type": "string"
                  },
                  "images": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "summary": {
                    "type": "string"
                  },
                  "subtitle": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "ingredients": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "note": {
                          "type": "string"
                        },
                        "unit": {
                          "type": "string"
                        },
                        "section": {
                          "type": "string"
                        },
                        "quantity": {
                          "type": "number"
                        },
                        "unitSystem": {
                          "enum": [
                            "metric",
                            "imperial",
                            "count",
                            "other"
                          ],
                          "type": "string"
                        },
                        "preparation": {
                          "type": "string"
                        },
                        "quantityText": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  }
                },
                "additionalProperties": false
              },
              "sourceUrl": {
                "type": "string"
              },
              "sourceKind": {
                "enum": [
                  "manual",
                  "url",
                  "text"
                ],
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]+$",
                "maxLength": 128,
                "minLength": 1,
                "description": "Opaque client retry token. Reuse it only for retries of the same create request; otherwise omit it."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "recipeId",
                  "recipe",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "recipe": {
                    "type": "object",
                    "required": [
                      "id",
                      "title",
                      "meta",
                      "ingredients",
                      "steps",
                      "notes"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "type": "object",
                        "properties": {
                          "meal": {
                            "type": "string"
                          },
                          "course": {
                            "type": "string"
                          },
                          "cuisine": {
                            "type": "string"
                          },
                          "yieldText": {
                            "type": "string"
                          },
                          "cookTimeMin": {
                            "type": "number"
                          },
                          "prepTimeMin": {
                            "type": "number"
                          },
                          "totalTimeMin": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      },
                      "tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "notes": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "steps": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "body": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "substeps": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "text"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "text": {
                                    "type": "string"
                                  },
                                  "timerMin": {
                                    "type": "number"
                                  },
                                  "timerLabel": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "timerMin": {
                              "type": "number"
                            },
                            "ingredientIds": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "title": {
                        "type": "string"
                      },
                      "images": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "summary": {
                        "type": "string"
                      },
                      "subtitle": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "ingredients": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            },
                            "unit": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "number"
                            },
                            "unitSystem": {
                              "enum": [
                                "metric",
                                "imperial",
                                "count",
                                "other"
                              ],
                              "type": "string"
                            },
                            "preparation": {
                              "type": "string"
                            },
                            "quantityText": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "recipeId": {
                    "type": "string"
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "deprecation": {
                    "type": "object",
                    "required": [
                      "message",
                      "replacement"
                    ],
                    "properties": {
                      "message": {
                        "type": "string"
                      },
                      "replacement": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "idempotencyKey": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "ok",
                  "code",
                  "message",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "ok": {
                    "type": "boolean",
                    "const": false
                  },
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "update_recipe",
          "title": "Update Recipe",
          "description": "Deliberately updates allowed fields on a saved recipe in your library. Supports title, subtitle, summary, description, images, meta, and notes only; images and notes replace the whole array. Does not change ingredients or steps — use apply_recipe_patches for cooking-time edits in a session snapshot.",
          "inputSchema": {
            "type": "object",
            "required": [
              "recipeId",
              "patch"
            ],
            "properties": {
              "patch": {
                "type": "object",
                "properties": {
                  "meta": {
                    "type": "object",
                    "properties": {
                      "meal": {
                        "type": "string"
                      },
                      "course": {
                        "type": "string"
                      },
                      "cuisine": {
                        "type": "string"
                      },
                      "yieldText": {
                        "type": "string"
                      },
                      "cookTimeMin": {
                        "type": "number"
                      },
                      "prepTimeMin": {
                        "type": "number"
                      },
                      "totalTimeMin": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "title": {
                    "type": "string",
                    "minLength": 1
                  },
                  "images": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "summary": {
                    "type": "string"
                  },
                  "subtitle": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  }
                },
                "minProperties": 1,
                "additionalProperties": false
              },
              "recipeId": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "recipeId",
                  "recipe",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "recipe": {
                    "type": "object",
                    "required": [
                      "id",
                      "title",
                      "meta",
                      "ingredients",
                      "steps",
                      "notes"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "type": "object",
                        "properties": {
                          "meal": {
                            "type": "string"
                          },
                          "course": {
                            "type": "string"
                          },
                          "cuisine": {
                            "type": "string"
                          },
                          "yieldText": {
                            "type": "string"
                          },
                          "cookTimeMin": {
                            "type": "number"
                          },
                          "prepTimeMin": {
                            "type": "number"
                          },
                          "totalTimeMin": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      },
                      "tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "notes": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "steps": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "body": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "substeps": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "text"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "text": {
                                    "type": "string"
                                  },
                                  "timerMin": {
                                    "type": "number"
                                  },
                                  "timerLabel": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "timerMin": {
                              "type": "number"
                            },
                            "ingredientIds": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "title": {
                        "type": "string"
                      },
                      "images": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "summary": {
                        "type": "string"
                      },
                      "subtitle": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "ingredients": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            },
                            "unit": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "number"
                            },
                            "unitSystem": {
                              "enum": [
                                "metric",
                                "imperial",
                                "count",
                                "other"
                              ],
                              "type": "string"
                            },
                            "preparation": {
                              "type": "string"
                            },
                            "quantityText": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "recipeId": {
                    "type": "string"
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "ok",
                  "code",
                  "message",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "ok": {
                    "type": "boolean",
                    "const": false
                  },
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "apply_recipe_patches",
          "title": "Apply Recipe Patches",
          "description": "Validate and apply explicit edits. Pass recipeId for a persisted cooking session, or pass the full recipe payload from display_recipe to edit an unsaved card without persistence. Does NOT modify the saved recipe in your library.",
          "inputSchema": {
            "type": "object",
            "anyOf": [
              {
                "required": [
                  "recipeId"
                ]
              },
              {
                "required": [
                  "recipe"
                ]
              }
            ],
            "required": [
              "patches"
            ],
            "properties": {
              "reply": {
                "type": "string",
                "minLength": 1
              },
              "recipe": {
                "type": "object",
                "required": [
                  "id",
                  "title",
                  "meta",
                  "ingredients",
                  "steps",
                  "notes"
                ],
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "meta": {
                    "type": "object",
                    "properties": {
                      "meal": {
                        "type": "string"
                      },
                      "course": {
                        "type": "string"
                      },
                      "cuisine": {
                        "type": "string"
                      },
                      "yieldText": {
                        "type": "string"
                      },
                      "cookTimeMin": {
                        "type": "number"
                      },
                      "prepTimeMin": {
                        "type": "number"
                      },
                      "totalTimeMin": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  },
                  "tags": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "steps": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "body": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "section": {
                          "type": "string"
                        },
                        "substeps": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "text"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "timerMin": {
                                "type": "number"
                              },
                              "timerLabel": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          }
                        },
                        "timerMin": {
                          "type": "number"
                        },
                        "ingredientIds": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "title": {
                    "type": "string"
                  },
                  "images": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "summary": {
                    "type": "string"
                  },
                  "subtitle": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "ingredients": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "note": {
                          "type": "string"
                        },
                        "unit": {
                          "type": "string"
                        },
                        "section": {
                          "type": "string"
                        },
                        "quantity": {
                          "type": "number"
                        },
                        "unitSystem": {
                          "enum": [
                            "metric",
                            "imperial",
                            "count",
                            "other"
                          ],
                          "type": "string"
                        },
                        "preparation": {
                          "type": "string"
                        },
                        "quantityText": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  }
                },
                "additionalProperties": false
              },
              "patches": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "ingredientId",
                        "newValue"
                      ],
                      "properties": {
                        "type": {
                          "const": "replace-ingredient"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "newValue": {
                          "type": "object",
                          "required": [
                            "id",
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            },
                            "unit": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "number"
                            },
                            "unitSystem": {
                              "enum": [
                                "metric",
                                "imperial",
                                "count",
                                "other"
                              ],
                              "type": "string"
                            },
                            "preparation": {
                              "type": "string"
                            },
                            "quantityText": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        "oldValue": {
                          "type": "object",
                          "required": [
                            "id",
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            },
                            "unit": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "number"
                            },
                            "unitSystem": {
                              "enum": [
                                "metric",
                                "imperial",
                                "count",
                                "other"
                              ],
                              "type": "string"
                            },
                            "preparation": {
                              "type": "string"
                            },
                            "quantityText": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "ingredientId": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "newValue"
                      ],
                      "properties": {
                        "type": {
                          "const": "insert-ingredient"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "newValue": {
                          "type": "object",
                          "required": [
                            "id",
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            },
                            "unit": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "number"
                            },
                            "unitSystem": {
                              "enum": [
                                "metric",
                                "imperial",
                                "count",
                                "other"
                              ],
                              "type": "string"
                            },
                            "preparation": {
                              "type": "string"
                            },
                            "quantityText": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "afterIngredientId": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "ingredientId"
                      ],
                      "properties": {
                        "type": {
                          "const": "remove-ingredient"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "oldValue": {
                          "type": "object",
                          "required": [
                            "id",
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            },
                            "unit": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "number"
                            },
                            "unitSystem": {
                              "enum": [
                                "metric",
                                "imperial",
                                "count",
                                "other"
                              ],
                              "type": "string"
                            },
                            "preparation": {
                              "type": "string"
                            },
                            "quantityText": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "ingredientId": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "stepId",
                        "newValue"
                      ],
                      "properties": {
                        "type": {
                          "const": "replace-step"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "stepId": {
                          "type": "string"
                        },
                        "newValue": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "body": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "substeps": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "text"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "text": {
                                    "type": "string"
                                  },
                                  "timerMin": {
                                    "type": "number"
                                  },
                                  "timerLabel": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "timerMin": {
                              "type": "number"
                            },
                            "ingredientIds": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "additionalProperties": false
                        },
                        "oldValue": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "body": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "substeps": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "text"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "text": {
                                    "type": "string"
                                  },
                                  "timerMin": {
                                    "type": "number"
                                  },
                                  "timerLabel": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "timerMin": {
                              "type": "number"
                            },
                            "ingredientIds": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "additionalProperties": false
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "newValue"
                      ],
                      "properties": {
                        "type": {
                          "const": "insert-step"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "newValue": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "body": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "substeps": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "text"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "text": {
                                    "type": "string"
                                  },
                                  "timerMin": {
                                    "type": "number"
                                  },
                                  "timerLabel": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "timerMin": {
                              "type": "number"
                            },
                            "ingredientIds": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "additionalProperties": false
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "afterStepId": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "stepId"
                      ],
                      "properties": {
                        "type": {
                          "const": "remove-step"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "stepId": {
                          "type": "string"
                        },
                        "oldValue": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "body": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "substeps": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "text"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "text": {
                                    "type": "string"
                                  },
                                  "timerMin": {
                                    "type": "number"
                                  },
                                  "timerLabel": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "timerMin": {
                              "type": "number"
                            },
                            "ingredientIds": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "additionalProperties": false
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "field",
                        "newValue"
                      ],
                      "properties": {
                        "type": {
                          "const": "update-meta"
                        },
                        "field": {
                          "enum": [
                            "title",
                            "subtitle",
                            "description",
                            "summary",
                            "cuisine",
                            "course",
                            "meal",
                            "yieldText",
                            "prepTimeMin",
                            "cookTimeMin",
                            "totalTimeMin"
                          ],
                          "type": "string"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "newValue": {},
                        "oldValue": {},
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "newValue"
                      ],
                      "properties": {
                        "type": {
                          "const": "replace-images"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "newValue": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "oldValue": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "note"
                      ],
                      "properties": {
                        "note": {
                          "type": "string"
                        },
                        "type": {
                          "const": "add-note"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "noteIndex"
                      ],
                      "properties": {
                        "type": {
                          "const": "remove-note"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "oldValue": {
                          "type": "string"
                        },
                        "noteIndex": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                },
                "minItems": 1
              },
              "recipeId": {
                "type": "string",
                "minLength": 1
              },
              "editLabel": {
                "type": "string",
                "minLength": 1
              },
              "sessionId": {
                "type": "string"
              },
              "measurementSystem": {
                "enum": [
                  "source",
                  "metric",
                  "imperial"
                ],
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "truncated": true,
            "chars": 36550
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "revert_recipe_edit",
          "title": "Revert Recipe Edit",
          "description": "Drop a patch group by requestId. Pass recipeId/sessionId for persisted edits, or pass the displayed card's baseRecipe and remaining patch history for a pure unsaved-card Undo. Unknown requestIds are idempotent no-ops.",
          "inputSchema": {
            "type": "object",
            "anyOf": [
              {
                "required": [
                  "recipeId"
                ]
              },
              {
                "required": [
                  "baseRecipe",
                  "patches"
                ]
              }
            ],
            "required": [
              "targetRequestId"
            ],
            "properties": {
              "patches": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "ingredientId",
                        "newValue"
                      ],
                      "properties": {
                        "type": {
                          "const": "replace-ingredient"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "newValue": {
                          "type": "object",
                          "required": [
                            "id",
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            },
                            "unit": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "number"
                            },
                            "unitSystem": {
                              "enum": [
                                "metric",
                                "imperial",
                                "count",
                                "other"
                              ],
                              "type": "string"
                            },
                            "preparation": {
                              "type": "string"
                            },
                            "quantityText": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        "oldValue": {
                          "type": "object",
                          "required": [
                            "id",
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            },
                            "unit": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "number"
                            },
                            "unitSystem": {
                              "enum": [
                                "metric",
                                "imperial",
                                "count",
                                "other"
                              ],
                              "type": "string"
                            },
                            "preparation": {
                              "type": "string"
                            },
                            "quantityText": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "ingredientId": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "newValue"
                      ],
                      "properties": {
                        "type": {
                          "const": "insert-ingredient"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "newValue": {
                          "type": "object",
                          "required": [
                            "id",
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            },
                            "unit": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "number"
                            },
                            "unitSystem": {
                              "enum": [
                                "metric",
                                "imperial",
                                "count",
                                "other"
                              ],
                              "type": "string"
                            },
                            "preparation": {
                              "type": "string"
                            },
                            "quantityText": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "afterIngredientId": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "ingredientId"
                      ],
                      "properties": {
                        "type": {
                          "const": "remove-ingredient"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "oldValue": {
                          "type": "object",
                          "required": [
                            "id",
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            },
                            "unit": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "number"
                            },
                            "unitSystem": {
                              "enum": [
                                "metric",
                                "imperial",
                                "count",
                                "other"
                              ],
                              "type": "string"
                            },
                            "preparation": {
                              "type": "string"
                            },
                            "quantityText": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "ingredientId": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "stepId",
                        "newValue"
                      ],
                      "properties": {
                        "type": {
                          "const": "replace-step"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "stepId": {
                          "type": "string"
                        },
                        "newValue": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "body": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "substeps": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "text"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "text": {
                                    "type": "string"
                                  },
                                  "timerMin": {
                                    "type": "number"
                                  },
                                  "timerLabel": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "timerMin": {
                              "type": "number"
                            },
                            "ingredientIds": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "additionalProperties": false
                        },
                        "oldValue": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "body": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "substeps": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "text"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "text": {
                                    "type": "string"
                                  },
                                  "timerMin": {
                                    "type": "number"
                                  },
                                  "timerLabel": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "timerMin": {
                              "type": "number"
                            },
                            "ingredientIds": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "additionalProperties": false
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "newValue"
                      ],
                      "properties": {
                        "type": {
                          "const": "insert-step"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "newValue": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "body": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "substeps": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "text"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "text": {
                                    "type": "string"
                                  },
                                  "timerMin": {
                                    "type": "number"
                                  },
                                  "timerLabel": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "timerMin": {
                              "type": "number"
                            },
                            "ingredientIds": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "additionalProperties": false
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "afterStepId": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "stepId"
                      ],
                      "properties": {
                        "type": {
                          "const": "remove-step"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "stepId": {
                          "type": "string"
                        },
                        "oldValue": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "body": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "substeps": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "text"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "text": {
                                    "type": "string"
                                  },
                                  "timerMin": {
                                    "type": "number"
                                  },
                                  "timerLabel": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "timerMin": {
                              "type": "number"
                            },
                            "ingredientIds": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "additionalProperties": false
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "field",
                        "newValue"
                      ],
                      "properties": {
                        "type": {
                          "const": "update-meta"
                        },
                        "field": {
                          "enum": [
                            "title",
                            "subtitle",
                            "description",
                            "summary",
                            "cuisine",
                            "course",
                            "meal",
                            "yieldText",
                            "prepTimeMin",
                            "cookTimeMin",
                            "totalTimeMin"
                          ],
                          "type": "string"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "newValue": {},
                        "oldValue": {},
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "newValue"
                      ],
                      "properties": {
                        "type": {
                          "const": "replace-images"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "newValue": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "oldValue": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "note"
                      ],
                      "properties": {
                        "note": {
                          "type": "string"
                        },
                        "type": {
                          "const": "add-note"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "requestId",
                        "editId",
                        "reason",
                        "noteIndex"
                      ],
                      "properties": {
                        "type": {
                          "const": "remove-note"
                        },
                        "editId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "reason": {
                          "type": "string",
                          "minLength": 1
                        },
                        "oldValue": {
                          "type": "string"
                        },
                        "noteIndex": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "requestId": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                },
                "minItems": 1
              },
              "recipeId": {
                "type": "string",
                "minLength": 1
              },
              "sessionId": {
                "type": "string"
              },
              "baseRecipe": {
                "type": "object",
                "required": [
                  "id",
                  "title",
                  "meta",
                  "ingredients",
                  "steps",
                  "notes"
                ],
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "meta": {
                    "type": "object",
                    "properties": {
                      "meal": {
                        "type": "string"
                      },
                      "course": {
                        "type": "string"
                      },
                      "cuisine": {
                        "type": "string"
                      },
                      "yieldText": {
                        "type": "string"
                      },
                      "cookTimeMin": {
                        "type": "number"
                      },
                      "prepTimeMin": {
                        "type": "number"
                      },
                      "totalTimeMin": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  },
                  "tags": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "steps": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "body": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "section": {
                          "type": "string"
                        },
                        "substeps": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "text"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "timerMin": {
                                "type": "number"
                              },
                              "timerLabel": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          }
                        },
                        "timerMin": {
                          "type": "number"
                        },
                        "ingredientIds": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "title": {
                    "type": "string"
                  },
                  "images": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "summary": {
                    "type": "string"
                  },
                  "subtitle": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "ingredients": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "note": {
                          "type": "string"
                        },
                        "unit": {
                          "type": "string"
                        },
                        "section": {
                          "type": "string"
                        },
                        "quantity": {
                          "type": "number"
                        },
                        "unitSystem": {
                          "enum": [
                            "metric",
                            "imperial",
                            "count",
                            "other"
                          ],
                          "type": "string"
                        },
                        "preparation": {
                          "type": "string"
                        },
                        "quantityText": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  }
                },
                "additionalProperties": false
              },
              "targetRequestId": {
                "type": "string",
                "minLength": 1
              },
              "measurementSystem": {
                "enum": [
                  "source",
                  "metric",
                  "imperial"
                ],
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "recipeId",
                  "snapshot",
                  "reverted",
                  "revertedPatches",
                  "remainingPatches",
                  "saved",
                  "measurementSystem",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "saved": {
                    "type": "boolean"
                  },
                  "recipeId": {
                    "type": "string"
                  },
                  "reverted": {
                    "type": "boolean"
                  },
                  "snapshot": {
                    "type": "object",
                    "required": [
                      "id",
                      "title",
                      "meta",
                      "ingredients",
                      "steps",
                      "notes"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "type": "object",
                        "properties": {
                          "meal": {
                            "type": "string"
                          },
                          "course": {
                            "type": "string"
                          },
                          "cuisine": {
                            "type": "string"
                          },
                          "yieldText": {
                            "type": "string"
                          },
                          "cookTimeMin": {
                            "type": "number"
                          },
                          "prepTimeMin": {
                            "type": "number"
                          },
                          "totalTimeMin": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      },
                      "tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "notes": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "steps": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "body": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "substeps": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "text"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "text": {
                                    "type": "string"
                                  },
                                  "timerMin": {
                                    "type": "number"
                                  },
                                  "timerLabel": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "timerMin": {
                              "type": "number"
                            },
                            "ingredientIds": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "title": {
                        "type": "string"
                      },
                      "images": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "summary": {
                        "type": "string"
                      },
                      "subtitle": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "ingredients": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            },
                            "unit": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "number"
                            },
                            "unitSystem": {
                              "enum": [
                                "metric",
                                "imperial",
                                "count",
                                "other"
                              ],
                              "type": "string"
                            },
                            "preparation": {
                              "type": "string"
                            },
                            "quantityText": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "sessionId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "revertedPatches": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "ingredientId",
                            "newValue"
                          ],
                          "properties": {
                            "type": {
                              "const": "replace-ingredient"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "newValue": {
                              "type": "object",
                              "required": [
                                "id",
                                "name"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "note": {
                                  "type": "string"
                                },
                                "unit": {
                                  "type": "string"
                                },
                                "section": {
                                  "type": "string"
                                },
                                "quantity": {
                                  "type": "number"
                                },
                                "unitSystem": {
                                  "enum": [
                                    "metric",
                                    "imperial",
                                    "count",
                                    "other"
                                  ],
                                  "type": "string"
                                },
                                "preparation": {
                                  "type": "string"
                                },
                                "quantityText": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": false
                            },
                            "oldValue": {
                              "type": "object",
                              "required": [
                                "id",
                                "name"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "note": {
                                  "type": "string"
                                },
                                "unit": {
                                  "type": "string"
                                },
                                "section": {
                                  "type": "string"
                                },
                                "quantity": {
                                  "type": "number"
                                },
                                "unitSystem": {
                                  "enum": [
                                    "metric",
                                    "imperial",
                                    "count",
                                    "other"
                                  ],
                                  "type": "string"
                                },
                                "preparation": {
                                  "type": "string"
                                },
                                "quantityText": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": false
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "ingredientId": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "newValue"
                          ],
                          "properties": {
                            "type": {
                              "const": "insert-ingredient"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "newValue": {
                              "type": "object",
                              "required": [
                                "id",
                                "name"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "note": {
                                  "type": "string"
                                },
                                "unit": {
                                  "type": "string"
                                },
                                "section": {
                                  "type": "string"
                                },
                                "quantity": {
                                  "type": "number"
                                },
                                "unitSystem": {
                                  "enum": [
                                    "metric",
                                    "imperial",
                                    "count",
                                    "other"
                                  ],
                                  "type": "string"
                                },
                                "preparation": {
                                  "type": "string"
                                },
                                "quantityText": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": false
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "afterIngredientId": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "ingredientId"
                          ],
                          "properties": {
                            "type": {
                              "const": "remove-ingredient"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "oldValue": {
                              "type": "object",
                              "required": [
                                "id",
                                "name"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "note": {
                                  "type": "string"
                                },
                                "unit": {
                                  "type": "string"
                                },
                                "section": {
                                  "type": "string"
                                },
                                "quantity": {
                                  "type": "number"
                                },
                                "unitSystem": {
                                  "enum": [
                                    "metric",
                                    "imperial",
                                    "count",
                                    "other"
                                  ],
                                  "type": "string"
                                },
                                "preparation": {
                                  "type": "string"
                                },
                                "quantityText": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": false
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "ingredientId": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "stepId",
                            "newValue"
                          ],
                          "properties": {
                            "type": {
                              "const": "replace-step"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "stepId": {
                              "type": "string"
                            },
                            "newValue": {
                              "type": "object",
                              "required": [
                                "id"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "body": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "section": {
                                  "type": "string"
                                },
                                "substeps": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "id",
                                      "text"
                                    ],
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "text": {
                                        "type": "string"
                                      },
                                      "timerMin": {
                                        "type": "number"
                                      },
                                      "timerLabel": {
                                        "type": "string"
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                },
                                "timerMin": {
                                  "type": "number"
                                },
                                "ingredientIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "additionalProperties": false
                            },
                            "oldValue": {
                              "type": "object",
                              "required": [
                                "id"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "body": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "section": {
                                  "type": "string"
                                },
                                "substeps": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "id",
                                      "text"
                                    ],
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "text": {
                                        "type": "string"
                                      },
                                      "timerMin": {
                                        "type": "number"
                                      },
                                      "timerLabel": {
                                        "type": "string"
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                },
                                "timerMin": {
                                  "type": "number"
                                },
                                "ingredientIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "additionalProperties": false
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "newValue"
                          ],
                          "properties": {
                            "type": {
                              "const": "insert-step"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "newValue": {
                              "type": "object",
                              "required": [
                                "id"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "body": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "section": {
                                  "type": "string"
                                },
                                "substeps": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "id",
                                      "text"
                                    ],
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "text": {
                                        "type": "string"
                                      },
                                      "timerMin": {
                                        "type": "number"
                                      },
                                      "timerLabel": {
                                        "type": "string"
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                },
                                "timerMin": {
                                  "type": "number"
                                },
                                "ingredientIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "additionalProperties": false
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "afterStepId": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "stepId"
                          ],
                          "properties": {
                            "type": {
                              "const": "remove-step"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "stepId": {
                              "type": "string"
                            },
                            "oldValue": {
                              "type": "object",
                              "required": [
                                "id"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "body": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "section": {
                                  "type": "string"
                                },
                                "substeps": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "id",
                                      "text"
                                    ],
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "text": {
                                        "type": "string"
                                      },
                                      "timerMin": {
                                        "type": "number"
                                      },
                                      "timerLabel": {
                                        "type": "string"
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                },
                                "timerMin": {
                                  "type": "number"
                                },
                                "ingredientIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "additionalProperties": false
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "field",
                            "newValue"
                          ],
                          "properties": {
                            "type": {
                              "const": "update-meta"
                            },
                            "field": {
                              "enum": [
                                "title",
                                "subtitle",
                                "description",
                                "summary",
                                "cuisine",
                                "course",
                                "meal",
                                "yieldText",
                                "prepTimeMin",
                                "cookTimeMin",
                                "totalTimeMin"
                              ],
                              "type": "string"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "newValue": {},
                            "oldValue": {},
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "newValue"
                          ],
                          "properties": {
                            "type": {
                              "const": "replace-images"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "newValue": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "oldValue": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "note"
                          ],
                          "properties": {
                            "note": {
                              "type": "string"
                            },
                            "type": {
                              "const": "add-note"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "noteIndex"
                          ],
                          "properties": {
                            "type": {
                              "const": "remove-note"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "oldValue": {
                              "type": "string"
                            },
                            "noteIndex": {
                              "type": "integer",
                              "minimum": 0
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  },
                  "remainingPatches": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "ingredientId",
                            "newValue"
                          ],
                          "properties": {
                            "type": {
                              "const": "replace-ingredient"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "newValue": {
                              "type": "object",
                              "required": [
                                "id",
                                "name"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "note": {
                                  "type": "string"
                                },
                                "unit": {
                                  "type": "string"
                                },
                                "section": {
                                  "type": "string"
                                },
                                "quantity": {
                                  "type": "number"
                                },
                                "unitSystem": {
                                  "enum": [
                                    "metric",
                                    "imperial",
                                    "count",
                                    "other"
                                  ],
                                  "type": "string"
                                },
                                "preparation": {
                                  "type": "string"
                                },
                                "quantityText": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": false
                            },
                            "oldValue": {
                              "type": "object",
                              "required": [
                                "id",
                                "name"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "note": {
                                  "type": "string"
                                },
                                "unit": {
                                  "type": "string"
                                },
                                "section": {
                                  "type": "string"
                                },
                                "quantity": {
                                  "type": "number"
                                },
                                "unitSystem": {
                                  "enum": [
                                    "metric",
                                    "imperial",
                                    "count",
                                    "other"
                                  ],
                                  "type": "string"
                                },
                                "preparation": {
                                  "type": "string"
                                },
                                "quantityText": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": false
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "ingredientId": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "newValue"
                          ],
                          "properties": {
                            "type": {
                              "const": "insert-ingredient"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "newValue": {
                              "type": "object",
                              "required": [
                                "id",
                                "name"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "note": {
                                  "type": "string"
                                },
                                "unit": {
                                  "type": "string"
                                },
                                "section": {
                                  "type": "string"
                                },
                                "quantity": {
                                  "type": "number"
                                },
                                "unitSystem": {
                                  "enum": [
                                    "metric",
                                    "imperial",
                                    "count",
                                    "other"
                                  ],
                                  "type": "string"
                                },
                                "preparation": {
                                  "type": "string"
                                },
                                "quantityText": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": false
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "afterIngredientId": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "ingredientId"
                          ],
                          "properties": {
                            "type": {
                              "const": "remove-ingredient"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "oldValue": {
                              "type": "object",
                              "required": [
                                "id",
                                "name"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "note": {
                                  "type": "string"
                                },
                                "unit": {
                                  "type": "string"
                                },
                                "section": {
                                  "type": "string"
                                },
                                "quantity": {
                                  "type": "number"
                                },
                                "unitSystem": {
                                  "enum": [
                                    "metric",
                                    "imperial",
                                    "count",
                                    "other"
                                  ],
                                  "type": "string"
                                },
                                "preparation": {
                                  "type": "string"
                                },
                                "quantityText": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": false
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "ingredientId": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "stepId",
                            "newValue"
                          ],
                          "properties": {
                            "type": {
                              "const": "replace-step"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "stepId": {
                              "type": "string"
                            },
                            "newValue": {
                              "type": "object",
                              "required": [
                                "id"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "body": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "section": {
                                  "type": "string"
                                },
                                "substeps": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "id",
                                      "text"
                                    ],
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "text": {
                                        "type": "string"
                                      },
                                      "timerMin": {
                                        "type": "number"
                                      },
                                      "timerLabel": {
                                        "type": "string"
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                },
                                "timerMin": {
                                  "type": "number"
                                },
                                "ingredientIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "additionalProperties": false
                            },
                            "oldValue": {
                              "type": "object",
                              "required": [
                                "id"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "body": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "section": {
                                  "type": "string"
                                },
                                "substeps": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "id",
                                      "text"
                                    ],
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "text": {
                                        "type": "string"
                                      },
                                      "timerMin": {
                                        "type": "number"
                                      },
                                      "timerLabel": {
                                        "type": "string"
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                },
                                "timerMin": {
                                  "type": "number"
                                },
                                "ingredientIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "additionalProperties": false
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "newValue"
                          ],
                          "properties": {
                            "type": {
                              "const": "insert-step"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "newValue": {
                              "type": "object",
                              "required": [
                                "id"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "body": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "section": {
                                  "type": "string"
                                },
                                "substeps": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "id",
                                      "text"
                                    ],
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "text": {
                                        "type": "string"
                                      },
                                      "timerMin": {
                                        "type": "number"
                                      },
                                      "timerLabel": {
                                        "type": "string"
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                },
                                "timerMin": {
                                  "type": "number"
                                },
                                "ingredientIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "additionalProperties": false
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "afterStepId": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "stepId"
                          ],
                          "properties": {
                            "type": {
                              "const": "remove-step"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "stepId": {
                              "type": "string"
                            },
                            "oldValue": {
                              "type": "object",
                              "required": [
                                "id"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "body": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "section": {
                                  "type": "string"
                                },
                                "substeps": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "id",
                                      "text"
                                    ],
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "text": {
                                        "type": "string"
                                      },
                                      "timerMin": {
                                        "type": "number"
                                      },
                                      "timerLabel": {
                                        "type": "string"
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                },
                                "timerMin": {
                                  "type": "number"
                                },
                                "ingredientIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "additionalProperties": false
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "field",
                            "newValue"
                          ],
                          "properties": {
                            "type": {
                              "const": "update-meta"
                            },
                            "field": {
                              "enum": [
                                "title",
                                "subtitle",
                                "description",
                                "summary",
                                "cuisine",
                                "course",
                                "meal",
                                "yieldText",
                                "prepTimeMin",
                                "cookTimeMin",
                                "totalTimeMin"
                              ],
                              "type": "string"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "newValue": {},
                            "oldValue": {},
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "newValue"
                          ],
                          "properties": {
                            "type": {
                              "const": "replace-images"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "newValue": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "oldValue": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "note"
                          ],
                          "properties": {
                            "note": {
                              "type": "string"
                            },
                            "type": {
                              "const": "add-note"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "requestId",
                            "editId",
                            "reason",
                            "noteIndex"
                          ],
                          "properties": {
                            "type": {
                              "const": "remove-note"
                            },
                            "editId": {
                              "type": "string",
                              "minLength": 1
                            },
                            "reason": {
                              "type": "string",
                              "minLength": 1
                            },
                            "oldValue": {
                              "type": "string"
                            },
                            "noteIndex": {
                              "type": "integer",
                              "minimum": 0
                            },
                            "requestId": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  },
                  "measurementSystem": {
                    "enum": [
                      "source",
                      "metric",
                      "imperial"
                    ],
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "ok",
                  "code",
                  "message",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "ok": {
                    "type": "boolean",
                    "const": false
                  },
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "set_measurement_system",
          "title": "Set Measurement System",
          "description": "Set measurements without ingredient patches. Pass recipeId for saved session state, or pass the full recipe payload from display_recipe to update an unsaved card without persistence.",
          "inputSchema": {
            "type": "object",
            "anyOf": [
              {
                "required": [
                  "recipeId"
                ]
              },
              {
                "required": [
                  "recipe"
                ]
              }
            ],
            "required": [
              "measurementSystem"
            ],
            "properties": {
              "recipe": {
                "type": "object",
                "required": [
                  "id",
                  "title",
                  "meta",
                  "ingredients",
                  "steps",
                  "notes"
                ],
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "meta": {
                    "type": "object",
                    "properties": {
                      "meal": {
                        "type": "string"
                      },
                      "course": {
                        "type": "string"
                      },
                      "cuisine": {
                        "type": "string"
                      },
                      "yieldText": {
                        "type": "string"
                      },
                      "cookTimeMin": {
                        "type": "number"
                      },
                      "prepTimeMin": {
                        "type": "number"
                      },
                      "totalTimeMin": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  },
                  "tags": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "steps": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "body": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "section": {
                          "type": "string"
                        },
                        "substeps": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "text"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "timerMin": {
                                "type": "number"
                              },
                              "timerLabel": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          }
                        },
                        "timerMin": {
                          "type": "number"
                        },
                        "ingredientIds": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "title": {
                    "type": "string"
                  },
                  "images": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "summary": {
                    "type": "string"
                  },
                  "subtitle": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "ingredients": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "note": {
                          "type": "string"
                        },
                        "unit": {
                          "type": "string"
                        },
                        "section": {
                          "type": "string"
                        },
                        "quantity": {
                          "type": "number"
                        },
                        "unitSystem": {
                          "enum": [
                            "metric",
                            "imperial",
                            "count",
                            "other"
                          ],
                          "type": "string"
                        },
                        "preparation": {
                          "type": "string"
                        },
                        "quantityText": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  }
                },
                "additionalProperties": false
              },
              "recipeId": {
                "type": "string",
                "minLength": 1
              },
              "sessionId": {
                "type": "string"
              },
              "measurementSystem": {
                "enum": [
                  "source",
                  "metric",
                  "imperial"
                ],
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "recipeId",
                  "measurementSystem",
                  "snapshot",
                  "saved",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "saved": {
                    "type": "boolean"
                  },
                  "recipeId": {
                    "type": "string"
                  },
                  "snapshot": {
                    "type": "object",
                    "required": [
                      "id",
                      "title",
                      "meta",
                      "ingredients",
                      "steps",
                      "notes"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "type": "object",
                        "properties": {
                          "meal": {
                            "type": "string"
                          },
                          "course": {
                            "type": "string"
                          },
                          "cuisine": {
                            "type": "string"
                          },
                          "yieldText": {
                            "type": "string"
                          },
                          "cookTimeMin": {
                            "type": "number"
                          },
                          "prepTimeMin": {
                            "type": "number"
                          },
                          "totalTimeMin": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      },
                      "tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "notes": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "steps": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "body": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "substeps": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "text"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "text": {
                                    "type": "string"
                                  },
                                  "timerMin": {
                                    "type": "number"
                                  },
                                  "timerLabel": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "timerMin": {
                              "type": "number"
                            },
                            "ingredientIds": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "title": {
                        "type": "string"
                      },
                      "images": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "summary": {
                        "type": "string"
                      },
                      "subtitle": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "ingredients": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            },
                            "unit": {
                              "type": "string"
                            },
                            "section": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "number"
                            },
                            "unitSystem": {
                              "enum": [
                                "metric",
                                "imperial",
                                "count",
                                "other"
                              ],
                              "type": "string"
                            },
                            "preparation": {
                              "type": "string"
                            },
                            "quantityText": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "sessionId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "measurementSystem": {
                    "enum": [
                      "source",
                      "metric",
                      "imperial"
                    ],
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "ok",
                  "code",
                  "message",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "ok": {
                    "type": "boolean",
                    "const": false
                  },
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "delete_recipe",
          "title": "Delete Recipe",
          "description": "Permanently delete a recipe owned by the authenticated user from their Sous Chef library. This cannot delete public catalog recipes.",
          "inputSchema": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "deleted",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "deleted": {
                    "type": "boolean"
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "ok",
                  "code",
                  "message",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "ok": {
                    "type": "boolean",
                    "const": false
                  },
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "share_recipe",
          "title": "Share Recipe",
          "description": "Creates (or refreshes) a public Sous Chef link for a recipe and returns the URL. Only call when the user explicitly asks to share a recipe. The page is public, anyone with the link can view it, and it is indexed by search engines; the link shows the recipe as it currently looks, including Sous Chef edits, and sharing again updates the same link. Requires a signed-in Sous Chef account.",
          "inputSchema": {
            "type": "object",
            "required": [
              "recipeId"
            ],
            "properties": {
              "recipeId": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "url",
                  "title",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "ok",
                  "code",
                  "message",
                  "requestId",
                  "targetIds"
                ],
                "properties": {
                  "ok": {
                    "type": "boolean",
                    "const": false
                  },
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "requestId": {
                    "type": "string"
                  },
                  "targetIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "recipe-card-widget",
          "uri": "ui://sous-chef/recipe-card.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Compact Sous Chef recipe card with save, validated edit Undo, measurement controls, and cooking mode."
        }
      ],
      "prompts": [
        {
          "name": "import_recipe_from_url",
          "description": "Import a recipe URL into the authenticated user's Sous Chef library.",
          "arguments": [
            {
              "name": "url",
              "required": true
            }
          ]
        },
        {
          "name": "import_recipe_from_text",
          "description": "Import pasted recipe text into the authenticated user's Sous Chef library.",
          "arguments": [
            {
              "name": "text",
              "required": true
            }
          ]
        },
        {
          "name": "edit_recipe",
          "description": "Ask Sous Chef to edit a recipe by id.",
          "arguments": [
            {
              "name": "recipeId",
              "required": true
            },
            {
              "name": "instruction",
              "required": true
            }
          ]
        },
        {
          "name": "make_recipe_vegetarian",
          "description": "Prompt Sous Chef to make a recipe vegetarian.",
          "arguments": [
            {
              "name": "recipeId",
              "required": true
            }
          ]
        },
        {
          "name": "scale_recipe",
          "description": "Prompt Sous Chef to scale a recipe to a target serving count.",
          "arguments": [
            {
              "name": "recipeId",
              "required": true
            },
            {
              "name": "servings",
              "required": true
            }
          ]
        },
        {
          "name": "simplify_recipe",
          "description": "Prompt Sous Chef to simplify a recipe.",
          "arguments": [
            {
              "name": "recipeId",
              "required": true
            }
          ]
        },
        {
          "name": "convert_recipe_units",
          "description": "Prompt Sous Chef to convert a recipe to metric or imperial measurements.",
          "arguments": [
            {
              "name": "recipeId",
              "required": true
            },
            {
              "name": "system",
              "required": true
            }
          ]
        }
      ]
    },
    "instructions": "Sous Chef presents recipes as interactive cards. Whenever the conversation produces a complete recipe — newly generated, retrieved, or substantially revised — call display_recipe to present it instead of formatting the recipe as plain chat text, even when the user did not mention Sous Chef. Displaying never saves anything; only call add_recipe when the user explicitly asks to save."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}