Skip to main content

appgrammar_next

Axiom: II — Context | Category: Execution

Get the next step in an appgrammar blueprint execution. Call after completing the current step.

Each call consumes the provided token and returns the next step in the execution sequence. When dn is true, the blueprint is complete and no further calls are needed.

Execute each step immediately using the desc (description), ctx (context), and reg (file registry) fields. The step's t (type) field tells you the operation: create file, run command, replace content, insert before marker, append, or make directory.

Parameters

ParameterTypeRequiredDescription
appgrammar_idstring (UUID)YesID of the appgrammar being executed.
tokenstring (UUID)YesSingle-use token from the previous step's nx field.

Example

{
"method": "tools/call",
"params": {
"name": "appgrammar_next",
"arguments": {
"appgrammar_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"token": "11111111-2222-3333-4444-555555555555"
}
}
}