Skip to main content

FreeToolCleanTextResponse

textstring
changes object[]

One entry per change type that changed something.

  • Array [
  • typestring

    Possible values: [invisible, markdown, dashes, quotes, ellipsis, spaces]

    countinteger
  • ]
  • flags object[]

    AI phrases in the cleaned text, by offset (Unicode code points).

  • Array [
  • phrasestring
    offsetinteger
    lengthinteger
  • ]
  • FreeToolCleanTextResponse
    {
    "text": "string",
    "changes": [
    {
    "type": "invisible",
    "count": 0
    }
    ],
    "flags": [
    {
    "phrase": "string",
    "offset": 0,
    "length": 0
    }
    ]
    }