defang
Defang URLs, domains, IPs and emails in text to make them safe for tickets and chat by rewriting http to hxxp and dots to [.]. Runs locally with no network calls.
Instructions
Defang URLs, domains, IPs and email addresses in text so they are safe to paste into tickets and chat (http -> hxxp, . -> [.]). Runs locally.
Args: text: Text containing indicators to defang.
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": {
"text": "<text>"
},
"name": "defang"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |