Schedule a page
set_page_scheduleMake one page of the live site show only between two times: a promo (raya.html at /raya, an 11.11 sale) that appears on its start date and disappears after its end date, with no one having to remember to take it down. Outside the window the live site answers "page not found" (or, with after: "home", sends visitors to the home page once it has ended), and the page is left out of the sitemap and llms.txt. Previews always show it. Applies to the live site at once, no publish needed, but the page itself must be published (publish_site, now or with at). Works for React routes too. Fields left out keep their value; null removes one; clear: true removes the schedule. get_site lists all page schedules.
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": {
"site": "<site>",
"path": "<path>"
},
"name": "set_page_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The page, e.g. "raya", "raya.html" or "/promo" | |
| site | Yes | Site slug (e.g. "kopitiam-muar") or id | |
| after | No | After live_until: "not_found" (default) or "home" to send visitors to the home page | |
| clear | No | true removes the page's schedule, so it always shows again | |
| live_from | No | When the page appears: ISO 8601, e.g. "2026-03-28T00:00" (read in the site's time zone when no zone is given). Leave out to show it from now. | |
| live_until | No | When the page disappears, e.g. "2026-04-05T23:59". In the future, at most 90 days ahead. |