Punycode / IDN converter
punycodeConvert internationalised domain names (IDN) offline between Unicode and xn-- Punycode while detecting mixed-script homograph spoofing. text accepts a Unicode/Punycode domain, URL (strips scheme/path/port), or email address (preserves local@ while converting the domain). Use for IDN conversion and phishing checks, not Base64/URL/hex/JWT transforms (encoders). Offline; flags Latin/Cyrillic/Greek mixing per label as warn and returns isError=true on invalid domain syntax. Requires middle.network auth; uses 1 daily quota unit.
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": "punycode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | A domain in Unicode or punycode (xn--). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ISO-8601 UTC timestamp when the result was generated. | |
| ms | No | Elapsed execution time in milliseconds. | |
| data | Yes | Tool-specific structured payload (records, timings, parsed fields, or scores). | |
| tool | Yes | Catalog tool identifier. | |
| share | No | Optional shareable report link metadata. | |
| status | Yes | Overall diagnostic verdict (worst finding wins; no findings = pass). | |
| target | Yes | Normalised domain, IP, or input target. | |
| limited | No | Optional list of upstream data sources that were rate-limited or unavailable. | |
| summary | Yes | Plain-English and technical one-line summaries. | |
| findings | Yes | Ordered diagnostic findings with severity and actionable fixes. |