Upload a file from a URL
upload_file_from_urlCopy a public file into GiftQuest storage. kind=gift → use key as gift.fileKey (or in gift.more; only photos, video, audio, PDF and plain text are accepted, by content — anything else fails with unsupported_gift_file, so share it as a link gift instead); kind=image → a puzzle or question step image; kind=media → an audio/video file for a media step.
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": {
"url": "<url>",
"kind": "<kind>"
},
"name": "upload_file_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| kind | Yes | ||
| name | No | File name shown to the recipient |