create_plan_share_link
Create a private no-login link to a workout or diet plan (branded PDF, Coach Pro) to send by WhatsApp. The URL is shown once. (confirm-gated: previews until confirm: true)
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": {
"planType": "<planType>",
"planId": "<planId>"
},
"name": "create_plan_share_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| planId | Yes | ||
| confirm | No | Must be true to actually execute. If false/omitted, returns a preview only. | |
| planType | Yes | ||
| expiresInDays | No |