Move a website in
import_siteReplace the site's pages with an existing website's (Squarespace, Wix or anything else: its sitemap, or failing that the links between its pages, says which pages), word for word, at the same paths, with its images copied across. A Wiki.js or MediaWiki wiki becomes the site's wiki, word for word: the whole site, or with at the wiki under that path beside its pages, so a site and its wiki on two hosts come together as one. Runs in the background for a minute or two, and every write to the site is refused until it ends: poll get_site until job.status is no longer running; failed says why, and done lists its notes on pages it skipped or could not read, which are left as they were.
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": {
"source": "<source>"
},
"name": "import_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | For a Wiki.js or MediaWiki wiki only: the path to put it under on a site of pages, e.g. wiki. Left out, the wiki is the whole site. | |
| token | No | The site token from create_site or the site's settings. Omit if your Authorization header carries it. | |
| source | Yes | The current website, e.g. https://example.com |