Add a voice note
add_voice_noteTranscribe a recording (through AssemblyAI) and save it as a new note at the top of the user's Gravity list, the way the app's mic does. Use it for "save this voice memo to Gravity"; to get the words without saving, use transcribe_audio. A tag spoken first with a pause becomes the note's tag; tag sets one instead. If no speech is heard, nothing is saved and it returns an error.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_voice_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Adds a tag prefix, e.g. "todo". Leave out to keep a spoken one. | |
| keywords | No | Names or rare words in the recording, spelled as they should be written. | |
| language | No | The spoken language as a code, e.g. en, de, ja. Leave out to detect it. | |
| audio_url | No | An https link to the recording (WAV, M4A, MP3, FLAC, OGG, WebM and most other audio or video formats). | |
| upload_id | No | The upload_id from upload_audio, once the file has been PUT to its upload_url. | |
| audio_base64 | No | The recording itself, base64-encoded, up to 2 MB (a few minutes of compressed audio). For a larger file, use upload_audio and pass upload_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| outcome | Yes | unchanged: the note was already like that, so nothing was written. |