Push Local Changes to Litewrite
litewrite_pushUpload local working-copy changes back to Litewrite in git-push style, syncing new, changed, and deleted text files and refreshing the manifest.
Instructions
Upload local working-copy changes back to Litewrite (git-push style).
Compares the local mirror (~/.litewrite-mcp/) against the last manifest: new/changed text files are uploaded, removed local files are deleted on the server, and the manifest is refreshed.
Use litewrite_status first to see what will change.
Args:
projectId (string, required): The project id.
Returns what was uploaded and deleted.
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": "litewrite_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The Litewrite project id |