text

Find invisible characters, bidi overrides and script confusables hiding in text.

Scans for characters that are present to a tokenizer but absent to a reader: the Unicode TAG block, zero-width marks, bidirectional overrides, variation selectors, and letters from other scripts that look like Latin ones. This is the mechanism behind instructions concealed in tool descriptions and in text a human has already approved — an evaluation of MCP metadata surfaces found all eight tested techniques delivered a payload into model context, while a representative string-matching sanitizer flagged none of twenty-five benign descriptions. Reports each suspect with its code point and offset, and returns a cleaned copy.

get/v1/text/unicode

Request

  • Base URL: https://fluentedi.com
  • URL: https://fluentedi.com/v1/text/unicode
  • Auth: none declared

Query parameters

textstring required

Text to scan.

cleanboolean

Return a copy with invisible characters removed and confusables mapped to Latin.

normalize'none' | 'NFC' | 'NFKC'

Unicode normalisation to apply to the cleaned copy.

Response

Tool result.

okboolean
toolstring
resultobject

Tool-specific result payload.

Changes

No recorded changes to this operation across all 1 revision of this API.