Tools

A model only knows what it was trained on. Tools let it look things up, read a page or run code. Melious runs them on European servers, so you do not have to build or host them.

What a tool is

A tool is a small service a model can ask for while it answers. The model says which tool it needs and with what input, the tool runs, and the result goes back to the model so it can finish its answer. You can also run a tool yourself, without a model.

The tools

  • Web search

    Finds current information on the web and returns titles, links and short excerpts. You can limit results by time and language.

    Price
    €0.004 per call
    Works
    In chat, on its own and over MCP
  • URL scraper

    Opens a web page and returns its content as clean Markdown text, ready for a model to read.

    Price
    €0.002 per call
    Works
    In chat, on its own and over MCP
  • Code execution

    Runs Python 3.12 in a sandbox. Useful for calculations, data processing, charts and generated files.

    Price
    €0.004 per call
    Works
    In chat, on its own and over MCP
  • Describe images

    Lets a model without vision work with images: a vision model describes the images attached to the chat.

    Price
    No charge per call
    Works
    Inside a chat request
  • Transcribe audio

    Turns audio files attached to the chat into text, so the model can work with what was said.

    Price
    No charge per call
    Works
    Inside a chat request

Three ways to use a tool

  1. Let a model decide

    Name the tools in your chat request. The model answers with the tool it wants to use and the input for it. You run that tool with one call and send the result back.

    Find a model with tool calling
    curl https://api.melious.ai/v1/chat/completions \
      -H "Authorization: Bearer $MELIOUS_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "MODEL_ID",
        "messages": [{"role": "user", "content": "What changed in the EU AI Act this month?"}],
        "tools": ["web-search", "scrape-url"]
      }'
  2. Run it yourself

    Call a tool directly when your own code knows what it needs. One request in, one result out, no model involved.

    Tools API reference
    curl https://api.melious.ai/v1/tools/web-search/execute \
      -H "Authorization: Bearer $MELIOUS_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"parameters": {"query": "EU AI Act timeline", "max_results": 5}}'
  3. Connect over MCP

    MCP is a standard way for AI apps to find and use tools. Point an MCP-compatible app or agent at the Melious endpoint and the tools appear in its tool list.

    MCP setup guide
    MCP endpoint

Good to know

  • You pay per call

    Prices are in euros and charged per call. If web search fails on our side, the call is refunded.

  • Search stays in Europe

    Web search runs through a European search provider that processes data in the EU and keeps no personal search history.

  • Code runs isolated

    Code execution runs Python in a sandbox on our servers. Nothing runs on your machine.