create_document_hyperlink
Create clickable hyperlinks in InDesign documents by linking text to URLs, pages, or other destinations with selectable link types.
Instructions
Create a hyperlink in the document
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": {
"sourceText": "<sourceText>",
"destination": "<destination>"
},
"name": "create_document_hyperlink"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| linkType | No | Type of hyperlink | URL |
| pageIndex | No | Target page index (for page links) | |
| sourceText | Yes | Text to link | |
| destination | Yes | URL or destination |