code_review_architecture
Heuristic architecture and security scan of source code pasted as text (any language): secrets, insecure calls, SQL built by concatenation, disabled TLS, hardcoded endpoints, missing timeouts and retry hazards. Not a linter or SAST replacement.
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": {
"code": "<code>"
},
"name": "code_review_architecture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| filename | No | snippet | |
| language | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| metrics | No | ||
| sources | No | ||
| summary | No | ||
| filename | No | ||
| findings | No | ||
| language | No | ||
| truncated | No | ||
| validated | No | ||
| limitation | No | ||
| limitations | No | ||
| architectureQuestions | No |