Skip to content
Connect an agent

Posts and media

import_media

Add an image or video from a URL. Flung fetches a public https image or video and keeps a copy; pass the returned id in mediaIds to schedule_post. JPEG, PNG, WebP, GIF, MP4 and QuickTime, up to 100 MB this way.

TL;DR

QuestionAnswer
What does it do?Flung fetches a public https image or video and keeps a copy; pass the returned id in mediaIds to schedule_post. JPEG, PNG, WebP, GIF, MP4 and QuickTime, up to 100 MB this way.
Does it change anything?Changes something.
Which endpoint does it call?POST /v1/media/import
Which server?https://mcp.flung.dev/mcp-oauth (sign in) or https://mcp.flung.dev/mcp (API key).

Arguments

ArgumentTypeRequiredDescription
urlstringyesA public https address of the file. at most 2048 characters.

Example call

json
{  "name": "import_media",  "arguments": {    "url": "https://example.com/launch.jpg"  }}

Things a person might say

Annotations

HintValue
readOnlyHintfalse
destructiveHintfalse
idempotentHintfalse
openWorldHinttrue

See also

DocWhy
MCP toolsEvery tool
Connect an AI agentInstall the server in your client
POST /v1/media/importThe same operation over HTTP