Read edge function source files
supabase_function_getRead the source files of a Supabase edge function deployment by name so you can inspect stored code before replacing it.
Instructions
Read edge function source files
Returns an object mapping relative file paths to stored source text, with caching disabled. Select a deployment name from supabase_functions_list; an unknown deployment returns 404, and supabase_function_replace writes its replacement contents.
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": {
"cluster": "<cluster>",
"name": "<name>"
},
"name": "supabase_function_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact deployment name from supabase_functions_list; 1–63 lowercase letters, digits, underscores or hyphens, starting with a letter or digit (pattern [a-z0-9][a-z0-9_-]{0,62}). | |
| cluster | Yes | Managed cluster name; the RBAC object is namespace/cluster. | |
| namespace | No | Namespace of the requested object; defaults to default for single-object routes and creation. On collection routes (/clusters, /operations, /events, /events/stream, /orphaned-volumes, /backup-storages and root /metrics), absence includes all authorized namespaces and a value filters to that namespace. A nonexistent explicit namespace returns 404 not_found with resource namespace and its name only when the authenticated caller has a permission in that namespace. Otherwise collections remain empty and object requests retain their normal 403 response without revealing existence. Public and unauthenticated authentication routes do not resolve the parameter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operationId | No |