Compile or re-apply
applyReturns a backup-first write command and plan for reorganizing memory files without touching disk; flags no-op or refused cases and permits forced non-shrinking compiles.
Instructions
Returns the command that writes the plan (backups first) and the operations it performs; this server never touches your disk. No drift: "nothing to apply". Refused on a credential-shaped source (no override over MCP), and on a compile that would not shrink the prefix unless force: true.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "apply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | accept a compile that would not shrink the prefix | |
| budget | No | token budget (default 60% of the file, at least 2000; a folder computes its own) | |
| format | No | default text | |
| target | No | folder in the root, "." for itself; none: the recorded memory folder; never guess | |
| content | No | also return file contents, for a host without a shell |