relink_asset
Update a placed asset in an InDesign document to use a new file path, fixing broken links or switching to an alternate file.
Instructions
Relink a placed asset to a new file path on disk.
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": {
"filePath": "<filePath>"
},
"name": "relink_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Link file name as shown in Links panel | |
| linkId | No | Link id from list_assets / Document Model | |
| filePath | Yes | Absolute path to the replacement file | |
| timeoutSec | No |