Skip to main content

appgrammar_create

Axiom: I — Compression | Category: Creation

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.

Create a new appgrammar blueprint. Describe what app you want to build and configure the technical stack.

The system generates a structured blueprint (architecture, task DAG, file registry) that guides you through building the application step by step. This is the first call in a 5-step creation pipeline: the server returns a prompt for your LLM to run, and you submit the result back via appgrammar_create_submit.

Returns:

  • appgrammar_id — unique identifier for use with subsequent calls
  • step — current pipeline step number
  • system_message — system prompt for your LLM
  • prompt — user prompt for your LLM
  • schema — expected JSON output schema
  • token — single-use token for the next submission

After all 5 steps complete, the appgrammar is assembled and ready for execution via appgrammar_start.

Parameters

ParameterTypeRequiredDescription
descriptionstringYesNatural-language description of the application to build (minimum 10 characters).
mode"prototype" | "production"NoBuild mode. Prototype generates fewer steps; production adds hardening, tests, and CI/CD.
language"typescript" | "python"NoPrimary programming language for the generated plan.
frameworkstringNoFramework name (e.g. "next", "fastapi", "express", "django").
database"sqlite" | "postgresql" | "mysql" | "mongodb"NoDatabase engine for the generated plan.
deployment"docker-compose" | "kubernetes" | "serverless" | "railway"NoDeployment target for infrastructure steps.
execution_mode"fast" | "economic"NoControls LLM usage during creation. "fast" uses higher-quality models; "economic" minimizes token spend.

Example

{
"method": "tools/call",
"params": {
"name": "appgrammar_create",
"arguments": {
"description": "A SaaS invoicing app with Stripe integration and PDF export"
}
}
}