cognition_validate
Validates code content against an AST template to confirm structural alignment.
Instructions
Validate code content against an AST template
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": {
"nodeId": "<nodeId>",
"targetFileContent": "<targetFileContent>"
},
"name": "cognition_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| targetFileContent | Yes |