Fix broken links in bulk
fix_broken_linksFix up to 100 broken links in one call, each its own way: "redirect" sends the old URL to a live page on this store (internal links only), "replace" points the link in the content at a new URL, "remove" takes the link out of the content and keeps its text or image, "dismiss" hides it from the list and changes nothing on the store. Use it when the merchant gives a list of old and new URLs, or wants a set of links handled the same way; for a single link, use create_redirect or replace_link. Show the merchant what will change and get their go-ahead first. One job runs per store at a time, in the background, so follow it with get_job_status.
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": {
"fixes": "<fixes>"
},
"name": "fix_broken_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fixes | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| jobId | No | Pass to get_job_status | |
| queued | Yes | Fixes the job will run | |
| message | Yes | ||
| rejected | Yes | Fixes that were not queued, each with why |