Convert a local image to ASCII art
image_to_asciiConvert a local PNG or SVG image to ASCII art in a new text file, choosing braille or block mode and adjusting size, inversion, and threshold, without overwriting existing files.
Instructions
Convert an absolute local PNG or SVG to a new .txt file. Paths and numeric arguments are bounded; existing outputs are never overwritten.
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": {
"input": "<input>",
"output": "<output>"
},
"name": "image_to_ascii"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | braille | |
| trim | No | ||
| input | Yes | ||
| width | No | ||
| height | No | ||
| invert | No | ||
| output | Yes | ||
| threshold | No |