Remove terminal ANSI escape codes
strip-ansiStrip terminal ANSI escape codes from text. Use to make colorized logs readable for indexing or display. Returns plain text without interpreting log entries.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "strip-ansi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Terminal output string containing optional ANSI escape sequences. |