Pull Project to Local Mirror
litewrite_pullMirror a Litewrite project to a local directory: download server files, remove deleted local files, and record a manifest so later pushes detect changes.
Instructions
Mirror a Litewrite project down into a local directory (git-clone/pull style).
Downloads all text files from the server into the local working copy at ~/.litewrite-mcp/ (or LITEWRITE_LOCAL_DIR), removes local files that no longer exist on the server, and records a content manifest so a later push can detect changes.
Args:
projectId (string, required): The project id.
Returns what was downloaded and removed.
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_pull"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The Litewrite project id |