Create site page
create_site_pageCreate a draft page at one route in an existing site. Preserve existing pages. Supply copy, layout, product references, and design requirements in instructions. Starts an asynchronous internal-agent operation; poll get_agent_session. For corrections, call this same tool with its sessionId and unchanged target. Requires a provisioned site. Source edits may execute in its preview. The Replo agent uses its normal tools and connected integrations to implement and verify the requested changes. Use publish_site separately to make changes public. Before creating or editing a site or page, call skills with name "building-sites".
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": {
"siteId": "<siteId>",
"route": "<route>",
"instructions": "<instructions>"
},
"name": "create_site_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | Yes | Page route within the selected site, such as / or /products/[handle]. | |
| siteId | Yes | Site ID from list_sites. | |
| sessionId | No | Omit to start this operation. To continue, supply the returned sessionId with the same operation and target; mismatches and legacy sessions are rejected. | |
| instructions | Yes | Requested changes for this operation only. Include necessary references, not conversation history, credentials, or unrelated personal data. |