validate_arch
Runs the validation engine on the current architecture diagram and returns the list of issues. Categories: structure (isolated nodes, queues wired on one side only — no producer or no consumer), security (publicAccess node carrying pii/secret data, sensitive data flows to an external service → DPA reminder). Each issue includes a stable code (arch.*), a severity (error|warning|info), an English message and an actionable suggestion. Fits before presenting the architecture to the user, or when they ask 'check my architecture'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_arch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| severityFilter | No | Filters the returned issues. 'all' (default) returns EVERYTHING (error+warning+info). 'errors-only' keeps only the most serious severity — currently a single class: public exposure of PII/secret data (arch.public-sensitive-data). 'errors-and-warnings' hides the info nudges. | |
| expectedProjectId | No | UUID of the project THIS call targets (overrides the session project). |