remove_hyperlink
Remove a hyperlink from a paragraph while keeping the text intact. Specify the paragraph ID and URL or anchor to match.
Instructions
Remove a hyperlink wrapper, preserving the text runs inside.
The paragraph text remains; only the w:hyperlink element is unwrapped.
Args: para_id: w14:paraId of the paragraph containing the hyperlink. url_or_anchor: URL (for external) or bookmark name (for internal) to match.
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": {
"para_id": "<para_id>",
"url_or_anchor": "<url_or_anchor>"
},
"name": "remove_hyperlink"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_id | Yes | ||
| url_or_anchor | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |