Set recipe sharing permission
prepare_set_recipe_sharingPrepares a recipe-sharing setting change after the required disclosure is shown, requiring explicit consent details so permissions are not inferred from a recipe request.
Instructions
Change sharing only after showing the disclosure returned by get_recipe_sharing. Never infer permission from a recipe request.
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": {
"enabled": "<enabled>",
"consent_version": "<consent_version>"
},
"name": "prepare_set_recipe_sharing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | ||
| consent_version | Yes |