appgrammar_create
Axiom: I — Compression | Category: Creation
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 callsstep— current pipeline step numbersystem_message— system prompt for your LLMprompt— user prompt for your LLMschema— expected JSON output schematoken— single-use token for the next submission
After all 5 steps complete, the appgrammar is assembled and ready for execution via appgrammar_start.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
description | string | Yes | Natural-language description of the application to build (minimum 10 characters). |
mode | "prototype" | "production" | No | Build mode. Prototype generates fewer steps; production adds hardening, tests, and CI/CD. |
language | "typescript" | "python" | No | Primary programming language for the generated plan. |
framework | string | No | Framework name (e.g. "next", "fastapi", "express", "django"). |
database | "sqlite" | "postgresql" | "mysql" | "mongodb" | No | Database engine for the generated plan. |
deployment | "docker-compose" | "kubernetes" | "serverless" | "railway" | No | Deployment target for infrastructure steps. |
execution_mode | "fast" | "economic" | No | Controls 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"
}
}
}