set_diet_plan_marketplace
List or unlist an existing diet plan on the Trainzilla marketplace and set its price (whole currency units; usdPrice for international buyers). No payment is processed — it only makes the plan buyable. (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": {
"planId": "<planId>",
"isMarketplace": "<isMarketplace>"
},
"name": "set_diet_plan_marketplace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | ||
| planId | Yes | ||
| confirm | No | Must be true to actually execute. If false/omitted, returns a preview only. | |
| currency | No | ||
| usdPrice | No | ||
| isMarketplace | Yes |