You're viewing a demo portfolio

Join the waitlist
PRSM

normalize_whitespace

Active

Tool of IA-QA — 130+ QA & Dev Tools for AI Agents

declared in 1.0.0

Normalize whitespace: trim trailing spaces, collapse blank lines, normalize line endings (LF/CRLF), convert tabs to spaces. Useful for cleaning code, configs, and text before processing.

Parameters schema

{
  "type": "object",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "string",
      "description": "Text to normalize"
    },
    "trim_file": {
      "type": "boolean",
      "description": "Trim leading/trailing blank lines (default: true)"
    },
    "trim_lines": {
      "type": "boolean",
      "description": "Trim trailing whitespace from each line (default: true)"
    },
    "line_ending": {
      "type": "string",
      "description": "\"lf\" (default), \"crlf\", or \"cr\""
    },
    "tab_to_spaces": {
      "type": "number",
      "description": "Convert tabs to N spaces (omit to keep tabs)"
    },
    "collapse_blanks": {
      "type": "boolean",
      "description": "Collapse 3+ consecutive blank lines to 2 (default: true)"
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

IA-QA — 130+ QA & Dev Tools for AI Agents

https://github.com/jcjamet/ia-qa

1/7 registries
View full server →