resources_updateLink
Update or relink an InDesign link by index to a new file path, optionally choosing which open document to modify.
Instructions
Update/relink a specific link by index to a new file
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": {
"linkIndex": "<linkIndex>",
"newFilePath": "<newFilePath>"
},
"name": "resources_updateLink"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| linkIndex | Yes | ||
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. | |
| newFilePath | Yes |