Find a recipe in the other languages it was published in
get_recipe_translationsFind every language version of a Ptitchef recipe by its ID. Get direct links to each translated page, revealing the site's official counterpart pairings.
Instructions
List the other languages a Ptitchef recipe was published in, with the page of each. get_recipe already carries this list under 'translations', so call this one only where the rest of the recipe is not wanted. Pass the 'id' of a row from a search or a listing. The pairing is the site's own: each page names its counterparts, and this repeats those names rather than matching titles. How many there are belongs to the recipe: a recent one names more than twenty, from German to Hindi, and an older one names none. An empty list is what the site published, and the read succeeded.
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": {
"id": "<id>"
},
"name": "get_recipe_translations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The 'id' of a row from a search or a listing, which is the recipe's own page path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | The French page these counterparts were read from. | |
| notes | Yes | ||
| title | Yes | ||
| source | Yes | ||
| translations | Yes | ||
| translation_count | Yes |