add_hyperlink
Append an external hyperlink with display text and URL to the end of a specified paragraph.
Instructions
Append an external hyperlink at the end of a paragraph.
Creates a relationship entry in word/_rels/document.xml.rels and a w:hyperlink element with a Hyperlink-styled run in word/document.xml.
Args: para_id: w14:paraId of the target paragraph. text: Display text for the hyperlink. url: The URL the hyperlink points to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_id | Yes | ||
| text | Yes | ||
| url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |