make_slug
utilpeek: Make a URL slug from text. For other case styles use text_case. Returns a URL slug: accents removed, Latin ligatures, Greek and Cyrillic transliterated, apostrophes dropped and other characters turned into one separator, cut at a separator when over max_length. CJK, Arabic, Hebrew, Indic, Thai and emoji are not romanised: they are dropped and counted in dropped_characters. Nothing left to slug is a 422 empty_slug (not charged). Typically under 0.1 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/slug-generator-api.html
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": "make_slug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text (at most 1,000 characters). | |
| and_word | No | Write & as this word, e.g. und; omit to drop &. | |
| language | No | Letter rules: de ü->ue, da/nb/nn/no ø->oe å->aa, ca l·l->ll, sr/bs đ->dj; omit for ü->u. | |
| lowercase | No | Lower-case the slug. | |
| separator | No | - (default) or _. | - |
| max_length | No | Longest slug; cut at a separator. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| length | No | ||
| source | No | ||
| truncated | No | ||
| transliterated | No | ||
| dropped_characters | No |