Read a sales page
get_sales_pageThe HTML of the sales page above one of the seller's checkouts, or of an upsell's own page (pass upsell). Read it before changing a page, so you change what's there instead of rewriting it from memory. To change part of it, use edit_sales_page; to replace all of it, set_sales_page. The answer includes slop: { score, flags }, Swipefast's plain-rules check of the page's words (0-100, no AI): if score is 20 or more, fix the flagged phrases with edit_sales_page, keep the facts, and save again.
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": {
"product": "<product>"
},
"name": "get_sales_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| upsell | No | An upsell's id from get_product, to read its page instead of the sales page. | |
| account | No | Only to work in a client's account: its id from list_accounts. Leave it out for your own account. | |
| product | Yes | The checkout's id or slug. |