# Tools on Melious

Tools let a model look things up, read a page or run code. Melious runs them on European servers. Prices are in euros, per call.

| Tool | Slug | Price | Works | What it does |
| --- | --- | --- | --- | --- |
| Web search | `web-search` | €0.004 per call | In chat, on its own and over MCP | Finds current information on the web and returns titles, links and short excerpts. You can limit results by time and language. |
| URL scraper | `scrape-url` | €0.002 per call | In chat, on its own and over MCP | Opens a web page and returns its content as clean Markdown text, ready for a model to read. |
| Code execution | `code-execution` | €0.004 per call | In chat, on its own and over MCP | Runs Python 3.12 in a sandbox. Useful for calculations, data processing, charts and generated files. |
| Describe images | `describe-images` | No charge per call | Inside a chat request | Lets a model without vision work with images: a vision model describes the images attached to the chat. |
| Transcribe audio | `transcribe-audio` | No charge per call | Inside a chat request | Turns audio files attached to the chat into text, so the model can work with what was said. |

## Let a model decide

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

```bash
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"]
  }'
```

## Run it yourself

```bash
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}}'
```

## Connect over MCP

MCP endpoint (JSON-RPC, Bearer API key): `https://api.melious.ai/v1/mcp/jsonrpc`

- API key: https://melious.ai/account/api/keys
- Reference: https://melious.ai/docs/tools
- Models with tool calling: https://melious.ai/models.md
- Human-readable page: https://melious.ai/tools
