Remove ECMA-48 CSI (color/cursor) and OSC (hyperlink/title) terminal escape sequences from text, returning the plain-text remainder.
Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | required | Text possibly containing ANSI escape sequences |
curl -s https://wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "ansi_strip", "arguments": {"text": "hello from an agent"}}}'curl -s https://wingmanprotocol.com/tools/ansi_strip \
-H 'Content-Type: application/json' \
-d '{"text": "hello from an agent"}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/ansi_strip from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).