# Galon Functions > Deploy JavaScript functions (ES modules) and call them over HTTPS. Each project runs isolated, test and live apart, with bounded memory, CPU and request time. Server side only: read the key from the `GALON_API_KEY` environment variable. Call `GET https://api.galon.ai/v1/tools` first: use only what it lists for this key. Send an `Idempotency-Key` with every write and reuse it on retry. On an error, act on `detail.code` and follow `detail.next_action`. ## What it does - Deploy a JavaScript ES module with a default export and call it at its own HTTPS address. - Each project runs in its own isolated runtime; test and live environments are kept apart. - Memory, CPU, request time and body sizes are bounded by the server. - Outbound requests go to public websites over HTTPS on port 443, by host name; IP addresses, private networks and other ports are refused. - Deploy, delete and roll back from the console, with metrics and logs. ## API - `GET /v1/functions/pricing`: Read Functions prices - `POST /v1/functions/sources`: Upload a function source - `POST /v1/functions/deployments`: Deploy a function - `GET /v1/functions/jobs/{job_id}`: Read a function job - `POST /v1/functions/deletions`: Delete a function revision ## MCP tools Server: `https://api.galon.ai/v1/mcp` (Streamable HTTP). - `get_functions_pricing`: Read the public prices and limits of Galon Functions. - `upload_function_source`: Upload the JavaScript module of a function. - `deploy_function`: Deploy an uploaded source as a named function. - `get_function_job`: Read a Functions deploy or delete job. - `delete_function`: Delete a deployed revision of a function. ## Docs - [Galon Functions guide](/cloud/docs/services/functions) - [OpenAPI 3.1 contract](/cloud/docs/openapi.json): the source of truth for routes and fields - [Complete LLM integration guide](/llms-full.txt)