Encode text as a blinking signal
encode_blinkTurn text of up to 128 bytes into an on and off signal in Morse timing, for a screen, a lamp, a smart bulb, shades or a buzzer: a dot is one unit on and a dash three, the gap inside a letter one unit off, between letters three and between words seven. Answers the Morse code, bits (one character per unit, 1 on and 0 off), timing (the on and off lengths in milliseconds, the first one on), unit_ms, duration_ms and the characters skipped for having no Morse code. Nothing is stored. No API key, no account and no sign up.
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": "encode_blink"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text, at most 128 bytes of UTF-8. | |
| unit_ms | No | The length of one unit in milliseconds, 100 by default, which a camera at 30 frames per second reads. 5 suits an LED that a light sensor reads at 1 kHz or more, 2000 window shades. |