Read a design file
read_design_fileRead a text file of the design: prompt.txt (brief), dossier.md, circuit.py, circuit.net, result.json, circuit.erc.json (KiCad ERC violations), attempt_N_circuit.py / attempt_N_error.txt, board_plan.json, pcb_result.json, pcb_run.log, circuit.drc.json (KiCad DRC), netclasses.resolved.json, dfm.json, harness.log.
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": {
"design_id": "<design_id>",
"path": "<path>"
},
"name": "read_design_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | A file name, e.g. 'circuit.py'. | |
| design_id | Yes | The design id returned by create_design or list_designs. |