update_hyperlink
Update the target URL of an existing hyperlink in a Word document using its relationship ID.
Instructions
Update the target URL of an existing external hyperlink relationship.
Args: r_id: The relationship ID (e.g. "rId7") to update. new_url: The new target URL.
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": {
"r_id": "<r_id>",
"new_url": "<new_url>"
},
"name": "update_hyperlink"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| r_id | Yes | ||
| new_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |