morse_code
Convert text to Morse code or decode Morse code back to readable text.
Instructions
Convert text to or from Morse code.
Use this to encode text into dots-and-dashes Morse code, or decode
Morse code back into readable text.
Parameters:
text — The text or Morse code string to convert.
mode — "encode" (text → Morse, default) or "decode" (Morse → text).
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": "morse_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| mode | No | encode |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |