replace_asset
Replace a placed asset in an InDesign layout with another file. Specify the new file path to relink the asset and update the document.
Instructions
Replace a placed asset with another file (same as relink_asset).
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": "replace_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 | ||
| timeoutSec | No |