seo_import_migrate
Migrate SEO data from RankMath or Yoast into WordPress, including per-post and term meta plus redirects, or port global titles, meta, sitemap, and robots settings.
Instructions
Migrate from RankMath or Yoast. Default: per-post/term meta and redirects are migrated (WRITES immediately, dry_run is not honoured here) and { posts_migrated, terms_migrated, redirects_migrated, errors } is returned. With settings=true (RankMath only) ONLY the global titles/meta/sitemap/robots settings are ported instead, and dry_run=true reports { written, skipped, dry_run } without writing.
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>",
"source": "<source>"
},
"name": "seo_import_migrate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| source | Yes | Plugin to migrate from | |
| dry_run | No | With settings=true: compute but write nothing (default false). Ignored for the meta migration. | |
| settings | No | Port the global settings instead of the meta (RankMath only, default false) |