Skip to main content

appgrammar_shatter

Axiom: IV — Architecture | Category: Composition

Multi-turn operation

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.

Shatter an appgrammar into its atomic module components. Produces individual micro-appgrammars from each module.

Takes a monolithic appgrammar and mathematically decomposes it into perfectly bounded microservice appgrammars plus an API Gateway appgrammar. Each child service carries its own database schema, deployment stage, and test suite. Where manual refactoring from monolith to microservices takes months, shattering recalculates the graph in seconds.

This is the inverse of appgrammar_weave.

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

ParameterTypeRequiredDescription
source_appgrammar_idstring (UUID)YesID of the appgrammar to shatter.
paramsobjectNoOptional tool-specific parameters.

Example

{
"method": "tools/call",
"params": {
"name": "appgrammar_shatter",
"arguments": {
"source_appgrammar_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}
}