Skip to content
Eden Engine

Remote File to Ready-Made Data URI

omnial/url-to-base64-data-uri

Downloads the file at a web address and returns it ready to inline: a complete data URI (media type plus base64 content in one string), the base64 content on its own, the media type the server reported and the file size in bytes.

activeper callv4

Price

Up to $0.0325 per call; you pay what the call used

The price shown is the price you pay. No monthly minimum. Top-ups start at $5.

Data source

The requested web page

Data from the web page you request.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/url-to-base64-data-uri" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/url-to-base64-data-uri" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/url-to-base64-data-uri", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/url-to-base64-data-uri", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0325
Updated
Oct 14, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "minLength": 1,
      "description": "The full web address of the file to download, including the https:// scheme."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "base64": {
      "type": "string",
      "description": "The downloaded bytes, base64-encoded."
    },
    "data_uri": {
      "type": "string",
      "description": "A data URI: data:, the media type, ;base64, and the base64 content."
    },
    "size_bytes": {
      "type": "number",
      "description": "The size of the downloaded file in bytes."
    },
    "content_type": {
      "type": "string",
      "description": "The media type the server reported."
    }
  },
  "description": "Response of the lookup, as returned after shaping."
}