create_document_hyperlink
Add clickable hyperlinks to text in InDesign documents by specifying source text and destination URL, page, or text anchor.
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 |
|---|---|---|---|
| sourceText | Yes | Text to link | |
| destination | Yes | URL or destination | |
| linkType | No | Type of hyperlink | URL |
| pageIndex | No | Target page index (for page links) |