addedInput schema / properties / destination / description
Added value: +"Output rendering, default preserve. preserve retains heading/quote markers and inline Markdown in text; other modes remove those markers, with bullet/numbered lists retained. email wraps HTML in a div; blog in an article; message and document return unwrapped semantic HTML; plain omits HTML. Does not change cleaning options."
addedInput schema / properties / preset / description
Added value: +"Cleaning preset, default default: trim, collapse repeated spaces/blank lines, NFC Unicode. pdf also repairs hard wraps/hyphens and removes detected page numbers/edges. ai strips Markdown artifacts, not AI authorship. html removes HTML tags/scripts/styles and decodes entities. list removes blank/duplicate lines and sorts lines. Explicit flags override preset settings."
addedInput schema / properties / removeCitations / description
Added value: +"Remove recognized numbered brackets, footnote markers, and compact author-year citations. Default false for every preset. May remove meaningful references; enable only when requested."
addedInput schema / properties / replaceLongDashes / description
Added value: +"Replace em/en dashes with the selected punctuation or space. Default preserve. Replacement normalizes surrounding whitespace and may join adjacent line breaks."
addedInput schema / properties / stripMarkdown / description
Added value: +"Override Markdown artifact removal, including headings/list markers, emphasis, link markup, and code fences. Omit to use the preset: true for ai, false otherwise. May remove structure; false does not disable destination rendering of Markdown."
addedInput schema / properties / text / description
Added value: +"Required nonblank source text, not a URL or file path. Length is measured in UTF-16 code units. Send only text you intend this remote service to process."
addedInput schema / properties / text / pattern
Added value: +"\\S"
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "changes": {
+ "description": "Applied transformations; empty when no cleanup changed the source.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "count": {
+ "description": "Number of changes reported for this transformation.",
+ "type": "number"
+ },
+ "label": {
+ "description": "Human-readable transformation name.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "count"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "cleanedText": {
+ "description": "Text after selected cleanup, before destination rendering.",
+ "type": "string"
+ },
+ "destination": {
+ "description": "Selected rendering destination.",
+ "enum": [
+ "preserve",
+ "email",
+ "message",
+ "blog",
+ "document",
+ "plain"
+ ],
+ "type": "string"
+ },
+ "html": {
+ "description": "Rendered semantic HTML. Omitted for plain destination.",
+ "type": "string"
+ },
+ "text": {
+ "description": "Destination-rendered text suitable for copying.",
+ "type": "string"
+ },
+ "usage": {
+ "additionalProperties": false,
+ "description": "Aggregate quota counters only; contains no API key or network address.",
+ "properties": {
+ "calls": {
+ "description": "Calls consumed in the current allowance window, including this call.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "plan": {
+ "const": "free",
+ "description": "Present as free on the anonymous endpoint; omitted on the Pro endpoint.",
+ "type": "string"
+ },
+ "remaining": {
+ "description": "Calls remaining in the current allowance window.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "calls",
+ "remaining"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "destination",
+ "cleanedText",
+ "text",
+ "changes",
+ "usage"
+ ],
+ "type": "object"
+}