# morse

## 功能

摩尔斯电码编解码。encode: 文本→.-..，decode: .-..→文本。

## 工具定义

### tool: morse_encode
**description:** 文本编码为摩斯密码格式。
**parameters:**
  - text (string, required): 要编码的文本

**api endpoint:** `POST https://morse.shxai.space`

### tool: morse_decode
**description:** 摩斯密码格式解码为原始文本。
**parameters:**
  - text (string, required): 要解码的文本

**api endpoint:** `POST https://morse.shxai.space/decode`

## 示例

```bash
# 编码
curl -X POST https://morse.shxai.space -d "hello"

# 解码
curl -X POST https://morse.shxai.space/decode -d "encoded_text"
```

## 鉴权

无需 API Key，直接调用即可。

---
> Skill 版本: 1.0 | 平台: shxai.space | 更新: 2026-08
