upload_voice_note
Upload an audio clip and get back a media id to use as a voice_note step's voiceMediaId. Pass the audio base64-encoded in dataBase64 (a data: URI prefix is tolerated). This is the ONLY way to attach voice audio via the API, binary can't ride in the sequence JSON. m4a/aac/mp3 are safest for LinkedIn; max 10MB. Note: a voice_note sends into the prospect's existing chat, so place the step after a connection/message.
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": {
"dataBase64": "<dataBase64>"
},
"name": "upload_voice_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | No | Original file name, e.g. intro.m4a. | |
| mimeType | No | e.g. audio/mp4, audio/mpeg. Defaults to audio/mpeg. | |
| dataBase64 | Yes | The audio file, base64-encoded. | |
| idempotency_key | No | Optional key so a retried upload doesn't duplicate. |