Turn off automatic updates
githubSyncDisableTurn automatic updates OFF for one owned project — the Automatic updates switch in the Source card on its Versions page: Tofu stops deploying on a push to the recorded branch, and a build already running is left to finish. It takes no confirmation, deliberately: turning updates off starts no deployment and changes nothing about the app, where turning them on starts deployments that count against the account’s allowance. The import is kept — the source still records the repository, branch, commit and app root — so this is not a way to take the code away from GitHub; it cannot delete a project or deployment, or change which repository Tofu follows. It stays usable when the GitHub connection, the App or the account’s plan has lapsed. Idempotent: disabling an already-disabled project changes nothing, and the answer says where the project now stands (the same read githubStatus gives).
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": {
"projectId": "<projectId>"
},
"name": "githubSyncDisable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paid | Yes | ||
| state | Yes | ||
| branch | Yes | ||
| reason | Yes | ||
| source | Yes | ||
| pending | Yes | ||
| lastCommitSha | Yes | ||
| rootDirectory | Yes | ||
| lastDeliveryAt | Yes | ||
| lastDeploymentId | Yes |