cs_preflight
Validates a structured app spec, flags errors and warnings, and infers security tier and permissions before planning.
Instructions
Step 3 of the create workflow. Validates a structured app spec and infers security tier + permissions. Call after drafting spec, before cs_plan. Read cs://spec-schema before calling. Input: { spec: object } Output: { valid, errors, warnings, security_tier, inferred_permissions, needs_app_config }
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"spec": "<spec>"
},
"name": "cs_preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | Structured app specification object |