interactive_addHyperlink
Add a hyperlink to selected text or a page item in Adobe InDesign by providing the link name, URL, page index, and item index.
Instructions
Add a hyperlink to a text selection or page item
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": {
"name": "<name>",
"url": "<url>",
"pageIndex": "<pageIndex>",
"itemIndex": "<itemIndex>"
},
"name": "interactive_addHyperlink"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| name | Yes | ||
| itemIndex | Yes | ||
| pageIndex | 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. |