Encode data as sound
encode_audioSend 1 to 128 bytes as sound to a device nearby, such as a short code or a link: a PCM16 WAV in the AI SENSE audio-v2 format, with four-tone symbols hopping between three tone sets so room echo is ignored, Reed-Solomon error correction and a CRC. data is UTF-8 text unless input_encoding is base64. Audible tones, 800 to 3000 Hz, are the default; high (14.0 to 16.2 kHz) and ultrasound (18.0 to 20.2 kHz) are experimental, can be audible and depend on the devices. Play it near a listening device and read the recording with decode_audio. Not encrypted. 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": {
"data": "<data>"
},
"name": "encode_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | UTF-8 text or standard Base64 representing at most 128 bytes. | |
| mode | No | audible by default. high and ultrasound are experimental and depend on the speakers and microphone. | |
| input_encoding | No | utf8 by default. Choose base64 for arbitrary binary bytes. |