encode_decode
Encode or decode strings using base64, hex, or URL formats, and compute MD5, SHA-1, or SHA-256 hashes by selecting the operation. Use it to verify tokens and hashes manually.
Instructions
文字列を base64/hex/URL でエンコード・デコード、または md5/sha1/sha256 のハッシュを計算する。op で操作を選ぶ。トークンやハッシュを人手で確かめる時の常備薬。
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>",
"op": "<op>"
},
"name": "encode_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | base64_encode/base64_decode/hex_encode/hex_decode/url_encode/url_decode/md5/sha1/sha256 のいずれか。 | |
| text | Yes | 対象文字列。 |