Get a link to add a file
get_upload_linkMakes a one-time lfg.gm page link for putting a file from the person's own device on an alarm they made: a picture or short video as the wallpaper, a song, or a voiceover. For a file only on the person's own device; a file at a public link, or one this AI app has in hand, can go on directly. On the page the person picks the file, or for a voiceover records their voice; it lands on the alarm when they finish. The link works once, for an hour. Returns the page link and a direct address a file can be sent to. What each takes. Wallpaper: a square (1:1) picture, about 1080 x 1080 pixels, as JPEG, PNG, WebP or GIF up to 50MB; a picture that is not square is cropped to a square. Or a square MP4 or MOV video, or a GIF that loops, up to 30 seconds and 50MB; a video needs a paid plan, a GIF does not. Song or voiceover: MP3, M4A, OGG, WAV or FLAC up to 5 minutes and 20MB.
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": {
"id": "<id>",
"use": "<use>"
},
"name": "get_upload_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The alarm's id. | |
| use | Yes | wallpaper (picture or short video), song, or voiceover (a voice message). |