list_functions
List functions. The script’s backend functions.Read only: changes nothing. Confirmation belongs to the AI client; scopes and blocks still apply.
Parameters
What it calls in the API
Por baixo, a ferramenta usaGET /scripts/{script_id}/functions da API do Scripts. The response includes text and structuredContent, with secrets removed.
Example
create_function
Create function from template. Writes supabase/functions/<name>.js from a template (hello, save, ai, access). Then use deploy_functions.Writes or changes script data. Confirmation belongs to the AI client; scopes and blocks still apply.
Parameters
What it calls in the API
Por baixo, a ferramenta usaPOST /scripts/{script_id}/repo/commits da API do Scripts. The response includes text and structuredContent, with secrets removed.
Example
deploy_functions
Deploy functions. Deploys the backend from the main branch.Writes or changes script data. Destructive action: review in your AI client before confirming. Confirmation belongs to the AI client; scopes and blocks still apply.
Parameters
What it calls in the API
Por baixo, a ferramenta usaPOST /scripts/{script_id}/deploy da API do Scripts. The response includes text and structuredContent, with secrets removed.
Example
test_function
Test function. Calls the function as you; body becomes request.body.Writes or changes script data. Destructive action: review in your AI client before confirming. Confirmation belongs to the AI client; scopes and blocks still apply.
Parameters
What it calls in the API
Por baixo, a ferramenta usaPOST /scripts/{script_id}/functions/{name} da API do Scripts. The response includes text and structuredContent, with secrets removed.

