appgrammar_semantic_rollback
Axiom: II — Context | Category: Execution
This tool uses a multi-turn protocol. The initial call returns a prompt and token. Run the prompt on your LLM, then submit the structured output via appgrammar_tool_submit (or the tool-specific submit variant) to advance the operation.
Create a semantic rollback point for an appgrammar. Captures intent-level state that can be restored even after structural changes.
Unlike git revert, which operates on raw code and creates merge conflicts, a semantic rollback understands the appgrammar's module graph. Because the appgrammar is a deterministic, step-by-step blueprint, the platform knows exactly what files and configurations were generated at any given stage. If a stage breaks the application, the agent can surgically remove exactly what that stage produced, reverting the codebase cleanly at the intent level.
This is a multi-turn operation. The server returns a prompt and token; run the prompt on your LLM and submit the result via appgrammar_tool_submit.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
source_appgrammar_id | string (UUID) | Yes | ID of the appgrammar to create a rollback point for. |
params | object | No | Optional tool-specific parameters. |
Example
{
"method": "tools/call",
"params": {
"name": "appgrammar_semantic_rollback",
"arguments": {
"source_appgrammar_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}
}