sanitize_external_links
Removes all external hyperlinks from a document, preserving the link text.
Instructions
Remove all external hyperlinks from the document. Link text is preserved but the hyperlink is removed.
Returns: Count of removed links or error message
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sanitize_external_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |