Skip to main content

apply_preview

Family: Apply — promote staged work or roll it back. See Apply.

Preview what apply would do.

@mcp.tool()
def apply_preview(
dir: str,
session_id: str,
) -> str

Parameters

NameTypeRequired
dirstryes
session_idstryes

Returns str.

Call shape

Fill your values; omit optional parameters:

{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "apply_preview",
"arguments": {
"dir": "...",
"session_id": "..."
}
}
}