Check a project
validate_projectCheck a project the way the Mokxi editor does: every unknown part, wrong pin, bad setting and code problem, in plain words naming the part and pin. Fix every error, then call create_project.
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": {
"project": "<project>"
},
"name": "validate_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | A project in the Mokxi AI format: {"format": "mokxi-ai/1", "name": "...", "board": "uno", "parts": [{"id": "led1", "type": "led"}], "wires": [["board.13", "led1.A"]], "code": {"sketch.ino": "..."}}. get_project_format has the full rules. |