Add migration redirect mappings
add_migration_redirectsSaves redirect mappings (old URL -> new URL) for a site migration, tied to the source property A and target property B they move traffic between. These back the Migration Compare workflow: use compare_migration for the before/after performance read, and these mappings to record which old URL became which new one. Pass label to keep several migrations apart on one account. Rows are APPENDED, never deduplicated against what is already stored, so re-sending the same list stores it twice; clear a set first with delete_migration_redirects if you are re-uploading. An account stores at most 200,000 mappings in total.
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": {
"siteUrlA": "<siteUrlA>",
"siteUrlB": "<siteUrlB>",
"redirects": "<redirects>"
},
"name": "add_migration_redirects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Groups this batch, e.g. "2026-blog-restructure". Also what delete targets. | |
| siteUrlA | Yes | Source property (the old site), as registered in GSC. | |
| siteUrlB | Yes | Target property (the new site), as registered in GSC. | |
| redirects | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| skipped | No | ||
| inserted | No | ||
| siteUrlA | No | ||
| siteUrlB | No |