parseRecipe
Extract a recipe's title, ingredients, servings, and instructions from any web page using its structured data. Returns clear errors when no schema.org markup exists, so you know the page lacks machine-readable recipe info.
Instructions
Read a recipe from a web page. Returns its title, ingredient lines as written, declared servings and instructions, taken from the schema.org data the page publishes for machines. Fails clearly when a page has no structured data rather than guessing at the markup.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "parseRecipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL of a recipe page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| author | Yes | ||
| finalUrl | Yes | ||
| fromCache | Yes | ||
| sourceUrl | Yes | ||
| instructions | Yes | ||
| ingredientLines | Yes | ||
| declaredServings | Yes | The first integer found in the page's recipeYield, or null. This is the author's claim about servings, not a measured household portion, and is never guessed. | |
| extractionMethod | Yes | ||
| declaredYieldText | Yes |