Remove Extra Whitespace (Utility)
Texau → Remove Extra Whitespace (Utility)
/v1/texau-remove-extra-whitespace{ "text": "sample-value" }
{ "ok": true, "data": { "change_applied": true, "character_removed": 1, "normalized_length": 1, "normalized_text": "sample", "original_length": 1, "original_text": "sample" } }
Cleans up text by removing extra spaces, tabs, and newlines while preserving single spaces.
Install
Add remove extra whitespace (utility) to your MCP client.
Drop this into claude_desktop_config.json (or your client's equivalent) and the tool shows up in any chat.
{ "mcpServers": { "texau": { "command": "npx", "args": ["-y", "@texau/mcp-server"], "env": { "TEXAU_API_KEY": "..." } } } }
Tool name: texau__texau-remove-extra-whitespace
When to use this.
The "Remove Extra Whitespace" action is designed to enhance text readability by eliminating unnecessary spaces, tabs, and newlines while retaining single spaces. This action takes a single input parameter, "text," which is the raw text requiring normalization. Upon execution, it outputs several key metrics: "changes_applied" indicates whether any modifications were made, "characters_removed" quantifies the number of characters eliminated, "normalized_length" provides the length of the cleaned text, "normalized_text" presents the refined version of the input, "original_length" reflects the length of the initial text, and "original_text" displays the unaltered input. This action falls under the enrichment category and is particularly useful in data preprocessing, content formatting, and improving text clarity for applications such as document editing, web content management, and automated reporting.
Try it
Run a sample request.
The response is a deterministic, cached example. No live call, no credits used.
Remove Extra Whitespace (Utility)
Response
Output schema.
Every field returned in `data`. Click rows to expand nested objects.
change_appliedChange Appliednullablebooleancharacter_removedCharacter Removednullablenumbernormalized_lengthNormalized Lengthnullablenumbernormalized_textNormalized Textnullabletextoriginal_lengthOriginal Lengthnullablenumberoriginal_textOriginal Texttext
Integrate
Copy-pasteable snippets.
Real endpoint: https://v3-api.texau.com/api/v1/texau-remove-extra-whitespace. Auth: x-api-key.
/v1/texau-remove-extra-whitespacecurl -X POST 'https://v3-api.texau.com/api/v1/texau-remove-extra-whitespace' \ -H 'x-api-key: $TEXAU_API_KEY' \ -H 'content-type: application/json' \ -d '{"text":"sample-value"}'
{ "ok": true, "data": { "change_applied": true, "character_removed": 1, "normalized_length": 1, "normalized_text": "sample", "original_length": 1, "original_text": "sample" } }
Compose
How this fits a workflow.
The next 2 actions most operators chain after this one.
enrichment
Identify Email Type (Utility)
Classifies an email address as personal, business, educational, or freemail and extracts the provider domain.
enrichment
Find URL Redirect Destination (Utility)
Resolves a URL to its final destination and returns the full redirect chain with HTTP status codes.
enrichment
Format Date and Time (Utility)
Converts a date-time string to UTC timezone and extracts individual date and time components.
Output
Results land in a TexAu table.
Sample rows below.
Real result preview coming soon.
| Input | Status | Score |
|---|---|---|
| [email protected] | valid | 96 |
| [email protected] | risky | 54 |
| [email protected] | invalid | 12 |
Workflow
A real example.
Trigger → remove extra whitespace (utility) → enrich → push to your CRM. ~80 ms operator effort, the rest runs in the background.
Built for
Who runs this.
Reliability
Rate limits & reliability.
- Per-minute limit300 / min
- Per-day limit10,000 / day
- RetriesAutomatic w/ backoff
- ModeSync
Errors
HTTP status codes.
What each response means and what to do about it.
| Code | Cause | Fix |
|---|---|---|
| 200 OK | Action ran. Data in `data`. | Read response. |
| 400 Bad Request | Missing or malformed input. | Validate against the input schema. |
| 401 Unauthorized | Missing or invalid `x-api-key`. | Re-issue from /api-platform. |
| 403 Forbidden | Workspace lacks plan tier. | Upgrade or contact sales. |
| 404 Not Found | Action key not recognized. | Verify the slug. |
| 429 Rate Limited | Per-minute or per-day cap hit. | Backoff; reduce concurrency. |
| 500 Server Error | Unexpected TexAu issue. | Retry with backoff. |
| 502 Bad Gateway | Upstream provider 5xx. | Retry; we surface root cause. |
| 504 Timeout | Upstream slower than maxLatency. | Switch to `isAsync` polling. |
Related
More Texau actions.
enrichment
Identify Email Type (Utility)
Classifies an email address as personal, business, educational, or freemail and extracts the provider domain.
enrichment
Find URL Redirect Destination (Utility)
Resolves a URL to its final destination and returns the full redirect chain with HTTP status codes.
enrichment
Format Date and Time (Utility)
Converts a date-time string to UTC timezone and extracts individual date and time components.
enrichment
Normalize Phone Number (Utility)
Normalizes and validates a phone number to E.164, national, and RFC3966 formats with country metadata.
FAQ.
Is this real-time?
Yes. Synchronous actions return in ~1–4 s. Long-running work uses async polling (see status 504 → switch to async).
Do I get charged on failure?
No. Verified failures cost zero credits. Provider miss / 5xx / timeout cascade to the next provider in the waterfall when applicable.
Does it work with Claude / Cursor via MCP?
Yes. Add the texau MCP server to your client config, then call `texau__texau-...` directly.
What CRMs can I push results to?
HubSpot, Salesforce, Pipedrive, Zoho, and GoHighLevel are bidirectional. Smartlead, Instantly, Lemlist, HeyReach, Apollo Sequences, and Reply.io for outbound.
Run Remove Extra Whitespace (Utility) in 60 seconds.
Pull your API key, paste the cURL, ship to your CRM.