supabase_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' } }); });
Bulk support: accepts project_ids for batched execution.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"name": "<name>",
"entrypoint_path": "<entrypoint_path>",
"verify_jwt": "<verify_jwt>",
"files": "<files>"
},
"name": "supabase_deploy_edge_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| files | Yes | ||
| project_id | Yes | ||
| verify_jwt | Yes | ||
| project_ids | No | ||
| entrypoint_path | Yes | ||
| import_map_path | No |