validate_board
Validate the imported board description to detect pin shorts, multi-driven nets, missing power/ground/debug/reset nets, and optional alternate-function legality. Run import_netlist first.
Instructions
Validate the imported BoardDescription: detect a package pin wired to multiple nets (short), a peripheral signal routed to multiple pins, a port pin driven by multiple nets, and missing power/ground/debug/reset nets. With a pin-capability DB (db_path or the STM32_GDB_MCP_PIN_DB env) it also checks alternate-function legality; unknown pins degrade to 'unverified', never a false conflict. Run import_netlist first.
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_board"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_path | No | Optional JSON pin-capability DB (CubeMX-derived) for AF-legality checks. | |
| session | No | Target session id (default 'default'). |