Supabase Auth
deploy_edge_function
Deploys an Edge Function to a Supabase project. If the function already exists, this will create a new version. Example: import "jsr:@supabase/functions-js/edge-runtime.d.ts"; Deno.serve(async (req: Request) => { const data = { message: "Hello there!" }; return new Response(JSON.stringify(data), { headers: { 'Content-Type': 'application/json', 'Connection': 'keep-alive' } }); });
Remote Supabase
Other tools also called deploy_edge_function?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the function"
},
"files": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"content"
],
"properties": {
"name": {
"type": "string"
},
"content": {
"type": "string"
}
},
"additionalProperties": false
},
"description": "The files to upload. This should include the entrypoint, deno.json, and any relative dependencies. Include the deno.json and deno.jsonc files to configure the Deno runtime (e.g., compiler options, imports) if they exist."
},
"project_id": {
"type": "string"
},
"verify_jwt": {
"type": "boolean",
"default": true,
"description": "Whether to require a valid JWT in the Authorization header. You SHOULD ALWAYS enable this to ensure authorized access. ONLY disable if the function previously had it disabled OR you've confirmed the function body implements custom authentication (e.g., API keys, webhooks) OR the user explicitly requested it be disabled."
},
"entrypoint_path": {
"type": "string",
"default": "index.ts",
"description": "The entrypoint of the function"
},
"import_map_path": {
"type": "string",
"description": "The import map for the function."
}
}
}