trigger_sync
Trigger a manual sync to detect changes since the last sync and apply database migrations, edge function updates, and frontend changes to your Supabase instance and deployment target.
Instructions
Trigger a manual sync for a connected project. Detects changes since the last sync (new database migrations, edge function updates, frontend changes) and applies them to the target Supabase instance and the project's Staticbot-selected deployment target.
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": {
"id": "<id>"
},
"name": "trigger_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Connected project ID | |
| commitSha | No | Specific commit SHA to sync to (defaults to latest on branch) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Parsed JSON response from the Staticbot public API |