Skip to main content

sync

Family: Project utilities — init, validate, sync, regenerate, doctor, tree, version. See Project utilities.

Sync project with remote.

@mcp.tool()
def sync(
dir: str,
ours: bool = False,
with_code: bool = False,
) -> str

Parameters

NameTypeRequired
dirstryes
oursboolno (default False)
with_codeboolno (default False)

Returns str.

Call shape

Fill your values; omit optional parameters:

{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "sync",
"arguments": {
"dir": "...",
"ours": false,
"with_code": false
}
}
}