{"id":164754,"target_id":"9495cb800e349733","observed_at":"2026-11-20T20:53:20Z","from_subject":"sha256-TL0ALrR6aursEi7lf/A14kbCRIMXxMxIOCexfe/3IPM=","to_subject":"sha256-G5VSyqk9qwxsrPcLd5KoDm5LZbF9y1NrLYRt9gmZHhE=","from_toolset":"sha256-XgZcY85mc77G7naDNsQRiwKncjvd/okjLTSk1mhwcKk=","to_toolset":"sha256-gV/TxUwZEshKkfpmCJiD89KLA46ys1IbRZAlAjxnssY=","summary":{"added":["add_library_to_table","assign_footprint","copy_footprint_to_library","copy_symbol_to_library","create_derived_symbol","create_project_library","delete_library_footprint","delete_library_symbol","ipc_add_board_outline","ipc_add_tracks","ipc_add_zone","ipc_get_selection","ipc_place_footprints","ipc_refill_zones","ipc_save_board","ipc_select_items","ipc_status","job_status","remove_library_from_table","rename_library_footprint","rename_library_symbol","set_library_symbol_properties","set_library_table_row","set_symbol_attributes","update_symbols_from_library","upgrade_project_libraries"],"removed":[],"modified":[{"tool":"add_component_from_library","fields":{"description":[["=","Add a symbol of a KiCad symbol library to the schematic.\n\nThe library comes from the library tables of the installed KiCad and of the\nproject, as in the symbol chooser of KiCad: a library of the project table\nreplaces a global library with the same name. A derived symbol gets the\nunits, the pins and the drawings of its parents. When the schematic has the\nsymbol in its lib_symbols section, the tool uses that definition. The tool\ngets the version of the installed KiCad from kicad-cli, to find the global\nlibrary table.\n\nThe placed symbol gets the fields of the library symbol (Datasheet,\nDescription, user fields) at their library positions, the flags\nexclude_from_sim, in_bom, on_board and in_pos_files of the library symbol,\nand the reference of its sheet path, as KiCad places a symbol. The tool\ndoes not move the fields (KiCad: autoplace).\n\n"],["+","With KiCad 10.0, the copy of the library symbol and its fields are the text of a\nsave of the library in kicad-cli (a library that KiCad did not save gets the\ntexts of KiCad: no blanks at the ends of a mandatory field, the canonical field\nnames, \"<name>_1\" for a second field of one name). kicad-cli saves the symbol\nwith its parents one time (about 0.2 s), and again after a change of their text; a\ncache keeps the last saves.\n\n"],["=","The connection grid is schematic.connection_grid_size of the project file\n(default 1.27 mm). ERC finds a pin off this grid (endpoint_off_grid).\n\nAs the schematic editor of KiCad, the tool removes the part of a wire\nbetween two pins of the new symbol, and adds a junction where a pin is in\nthe middle of a wire. The output tells each junction and each changed wire."],["+","\n\nThe tool places the symbol at 0 degrees, with no mirror, in body style 1. It\ncannot rotate or mirror a symbol, and cannot place an other body style (De\nMorgan): tell the user to do this in KiCad. One call places one unit: for the\nother units of a package, call the tool again with the same reference and the\nnext unit. The tool does not check that the reference is unique in the project:\nrun_erc finds a duplicate reference.\n\nWhen the hierarchy uses the sheet more than one time, only the sheet of\nsheet_path gets the reference. When KiCad loads the schematic, it gives the\nother uses of the sheet the same reference (the output tells it): the user\nannotates the schematic in KiCad to give them their references.\n\nKiCad must not have the schematic open: the tool refuses the write (the lock file\nof KiCad). The tool also refuses the write when the file changed after the tool read\nit. A schematic of an older file version than the installed KiCad writes is an\nerror: the user converts it in KiCad first (the output gives the step)."]]}},{"tool":"add_global_label","fields":{"description":[["=","Add a global label on a pin of a component.\n\nA global label connects the nets with its name in all sheets of the project."],["+"," The\ntool puts the label on the connection point of the pin (with the rotation and the\nmirror of the symbol). The angle comes from the direction of the pin, as KiCad\norients a label that \"Update Schematic from PCB\" adds on a pin: the label points\naway from the body, also on the long side of a tall symbol. The text goes from the\npoint to the right at 0 degrees, up at 90, to the left at 180 and down at 270, as\nKiCad draws it: a label at 180 has its text to the left of the point. This is\ncorrect, not a defect. With x and y, the angle is 0.\n\nA new global label has the hidden field Intersheetrefs at its point, as KiCad\nmakes it. KiCad shows the field next to the label only when the schematic setting\nshows the references to other sheets. This is correct, not a defect.\n\nThe tool finds the symbol by the Reference field in the file, not by the reference\nof each sheet path: in a sheet that the hierarchy uses more than one time, the\nreference of an other sheet path is not found.\n\nKiCad must not have the schematic open: the tool refuses the write (the lock file\nof KiCad). The tool also refuses the write when the file changed after the tool read\nit. A schematic of an older file version than the installed KiCad writes is an\nerror: the user converts it in KiCad first (the output gives the step)."]]}},{"tool":"add_hierarchical_label","fields":{"description":[["=","Add a hierarchical label on a pin of a component.\n\nA hierarchical label in a sub-sheet connects its net to the pin with the same\nname of the sheet symbol in the parent sheet. The tool puts the label on the\nconnection point of the pin (with the rotation and the mirror of the symbol)."],["+"," The"],["=","\n"],["+","angle comes from the direction of the pin, as KiCad orients a label that \"Update\nSchematic from PCB\" adds on a pin: the label points away from the body, also on\nthe long side of a tall symbol. The text goes from the point to the right at 0\ndegrees, up at 90, to the left at 180 and down at 270, as KiCad draws it: a label\nat 180 has its text to the left of the point. This is correct, not a defect. With\nx and y, the angle is 0.\n\nThe tool changes only the sub-sheet. It does not add the sheet pin to the sheet\nsymbol in the parent sheet, and KiCad connects the label to the parent sheet only\nthrough a sheet pin with the same name. Tell the user to add the sheet pin in the\nschematic editor of KiCad: until then, ERC gives hier_label_mismatch. "],["=","Make sure"],["-"," "],["+","\n"],["=","that the connection is in the netlist: generate_netlist."],["+","\n\nThe tool finds the symbol by the Reference field in the file, not by the reference\nof each sheet path: in a sheet that the hierarchy uses more than one time, the\nreference of an other sheet path is not found.\n\nKiCad must not have the schematic open: the tool refuses the write (the lock file\nof KiCad). The tool also refuses the write when the file changed after the tool read\nit. A schematic of an older file version than the installed KiCad writes is an\nerror: the user converts it in KiCad first (the output gives the step)."]]}},{"tool":"add_label","fields":{"description":[["=","Add a local label (text label) to the schematic."],["+","\n\nThe text goes from the point to the right at 0 degrees, up at 90, to the left at 180\nand down at 270, and KiCad keeps it upright: a label at 180 has its text to the left\nof the point (right justified), as KiCad draws it. This is correct, not a defect. The\npoint is the connection point: put it on the end of a wire or on a pin. A label\nconnects at each point of a wire, also in its middle: the tool adds no junction for\nit. A label on a bus names the bus.\n\nKiCad must not have the schematic open: the tool refuses the write (the lock file\nof KiCad). The tool also refuses the write when the file changed after the tool read\nit. A schematic of an older file version than the installed KiCad writes is an\nerror: the user converts it in KiCad first (the output gives the step)."]],"inputSchema":[{"path":"$.\"properties\".\"orientation\".\"description\"","old":"\"The angle of the label.\"","new":"\"The angle: 0, 90, 180 or 270 (KiCad reads no other angle of a\\nlabel). Use the angle that points away from the wire or the pin, thus the\\ntext does not cover them.\""},{"path":"$.\"properties\".\"snap_to_grid\".\"description\"","old":"\"True: move the label to the nearest point of the\\nconnection grid of the project (default 1.27 mm), except on a\\nconnection point of the sheet (a pin, a wire, a label).\"","new":"\"True: move the label to the nearest point of the\\nconnection grid of the project (default 1.27 mm), except on a\\nconnection point of the sheet (a pin, a wire, a label). A label in the\\nmiddle of a wire moves only along the wire.\""}]}},{"tool":"add_wire","fields":{"description":[["=","Add a wire to the schematic: a line through two or more points.\n\nA KiCad wire has two points (SCH_LINE). The tool adds one wire for each\nsegment, as KiCad saves a line with corners.\n\nAs the schematic editor of KiCad, the tool merges the segments that are\non one straight line, merges a new wire with a wire of the sheet on the\nsame straight line that it touches, removes the part of a new wire\nbetween the two pins of a symbol with two pins, and adds a junction where\nthree or more wire directions meet (a wire end or a pin in the middle of\na wire). The output tells each junction and each changed wire.\n\nThe connection grid is schematic.connection_grid_size of the project file\n(default 1.27 mm). ERC finds a wire end off this grid (endpoint_off_grid)."],["+","\n\nThe tool adds wires only, not buses or bus entries. A wire that the sheet has\nalready gives \"No change\".\n\nKiCad must not have the schematic open: the tool refuses the write (the lock file\nof KiCad). The tool also refuses the write when the file changed after the tool read\nit. A schematic of an older file version than the installed KiCad writes is an\nerror: the user converts it in KiCad first (the output gives the step)."]]}},{"tool":"analyze_hierarchical_nets","fields":{"description":[["=","Analyze all nets of the full schematic hierarchy.\n\nThe tool reads the netlist that kicad-cli writes now: the nets of all sheets\nat each level of the hierarchy. It groups them as power, interface and signal\nnets (by their names), and gives the sheet paths of the hierarchy."],["+","\n\nThe groups come from parts of the net names (heuristic): power has VDD, VSS, GND,\nVCC, VBAT, VPP, +3V or +5V, interface has I2C, SPI, UART, SDA, SCL, MOSI, MISO, TX\nor RX, and signal is each other net. The tool lists at most 20 power nets, 30\ninterface nets and 20 signal nets, sorted by name: use filter_pattern for the\nothers. The netlist of KiCad has a net \"unconnected-(...)\" for each unconnected\npin, with the pin name in it: these nets are in the total, and in a group by\ntheir names (\"unconnected-(U1-TXD-Pad5)\" is an interface net). The total counts\nthe nets after filter_pattern."]],"inputSchema":[{"path":"$.\"properties\".\"filter_pattern\".\"description\"","old":"\"Optional regular expression for the net names (no\\ndifference of case). Empty: all nets.\"","new":"\"Optional regular expression for the net names (no\\ndifference of case), found in a part of the full name with the sheet\\npath (\\\"/Power/VIN\\\"), with the syntax of the Python module re. Empty: all\\nnets. A pattern that is not a regular expression gives an error, and a\\nsearch that takes longer than 15 s gives an error.\""}]}},{"tool":"analyze_pcb_nets","fields":{"description":[["=","Give the routing of a board: track widths, vias, net lengths and layers.\n\nThe tool gives the distribution of the track widths and of the via drills, the\nlayer spans of the vias, the tracks of each layer, the nets by the length of their\ntracks, and a comparison with the design rules of the board."],["+"," The zone count is the\ncount of the copper zones, as the Zone Manager of KiCad lists them: no rule area\n(keepout), no teardrop, and no zone on non-copper layers only.\n\nThe tool lists the 20 nets with the longest tracks. The warning about narrow\ntracks is a rule of the tool (a track narrower than half of the current track\nwidth of the board settings), not a DRC result: run_drc gives the checks of KiCad.\nWith the text reader (no pcbnew), the answer has no board size and no comparison\nwith the design rules."]]}},{"tool":"analyze_pcb_power_integrity","fields":{"description":[["=","Give the copper zones of a board and the routing of its power nets (heuristic).\n\nThe tool finds a power net and a ground net from its "],["-","name (for example VCC, VDD,\nVBUS, GND),"],["+","name,"],["="," and gives the copper"],["-"," "],["+","\n"],["=","zones of each and the tracks of the power nets."],["+"," A power net has VDD, VCC, VSS, 3V3,\n5V, 1V8, VBUS, LDO or DCDC in its name; a ground net has GND, PGND, AGND, DGND or\nCHASSIS (no difference between upper and lower case).\n\nThe copper zones are the zones of the Zone Manager of KiCad: no rule area\n(keepout), no teardrop, and no zone on non-copper layers only. A zone can be on more\nthan one copper layer: the tool gives all of its copper layers on the board, from\nthe top, and counts each of them for the GND coverage. On a board with more than 2\ncopper layers, a warning tells when the GND zones are not on each copper layer:\nthis warning comes from the tool, not from a check of KiCad. \"filled\" is the fill\nstate that the file has. With the text reader (no pcbnew), the zones have no fill\nstate."]]}},{"tool":"analyze_pcb_signal_integrity","fields":{"description":[["=","Give the differential pairs, the RF tracks and the longest signal nets of a board (heuristic).\n\nThe tool finds a differential pair from the "],["-","names"],["+","ends"],["="," of two "],["-","nets"],["+","net names, case-sensitive:\n_P/_N, _DP/_DN, _TXP/_TXN, _RXP/_RXN, _M/_S and _POS/_NEG"],["="," (for example "],["-","USB_P"],["+","USB_DP and"],["=","\n"],["-","and"],["+","USB_DN)."],["="," "],["-","USB_N,"],["+","It"],["="," "],["-","DP"],["+","does not find +"],["="," and "],["-","DN)"],["+","- (USB_D+"],["="," and "],["-","gives"],["+","USB_D-). The status of a pair uses\nfixed limits of"],["="," the "],["-","difference"],["+","tool (OK below 0.127 mm, Marginal below 0.5 mm, else\nMismatch), not the rules"],["="," of "],["-","their"],["+","the"],["="," "],["-","lengths."],["+","board."],["="," "],["-","It"],["+","The"],["="," "],["-","finds"],["+","length"],["="," "],["-","an RF\ntrack from"],["+","is"],["="," the "],["-","name"],["+","sum"],["="," of "],["+","the track\nsegments, with no vias and no pads.\n\nAn RF net has ANT, RF or FEED in "],["=","its "],["-","net."],["+","name,"],["="," "],["-","It"],["+","and not VDD or GND. The longest signal\nnets (15) are the nets whose name has no power word (VDD, VCC, GND, VSS, 3V3, 5V,\n1V8, PGND, VBUS). The tool"],["="," also gives the "],["-","longest"],["+","10"],["="," "],["-","signal nets and the\n"],["=","nets with the most vias."],["+","\n\nWith the text reader (no pcbnew), the answer has no design rules of the\ndifferential pairs."]]}},{"tool":"check_pin_pad_mapping","fields":{"description":[["=","Compare the pin numbers of a library symbol with the pad numbers of a footprint.\n\nThe tool uses the rules of \"Update PCB from Schematic\" of the installed\nKiCad. A pin number that no pad has, and a pin with no number, are errors.\nA pad with a number that no pin has gets no net: this is a warning. KiCad\n10 reads a stacked pin number (\"[1-4]\") as more than one pad number. The\ncheck uses the pins of all units, for each body style."],["+"," A power symbol gives an\nerror: KiCad puts no power symbol into the netlist."]]}},{"tool":"check_symbol_fields","fields":{"description":[["=","Check the MPNs of the symbols: the fields Value, MPN, Value_Confirmed and MPN_Confirmed.\n\nUse this tool only when the MCP server datasheet-lens is not available: its\ntool project_check does the same check, and also checks the datasheets. The\ntwo tools give the same messages (a datasheet-lens with the model of the four\nfields, of 2026-11-07 or later: an older one reads the MPNs from the\nparentheses of Value).\n\nThe convention: Value holds the general value (\"2N7002\", \"100nF 10V\"), the\nfield MPN the MPNs, the fitted part first (\"2N7002LT1G, BSS138LT1G\"; the\nseparators are \",\" and \";\", an MPN with \",\" or \";\" is in quotes, as in CSV),\nand the hidden fields Value_Confirmed and MPN_Confirmed the copies of the last\nconfirmation. A symbol with the MPNs in the parentheses of Value (the old\nconvention) gets the move into the field MPN.\n\nThe tool reads the BOM of kicad-cli (also the DNP symbols: the user can fit\nthem at any time) of the default variant and of each variant (KiCad 10).\nFor each symbol it gives the conflicts, the changes that the user must\nconfirm, the symbols that are not confirmed, the moves of the old convention,\nand the symbols with no part. Each message gives"],["-","\n"],["+"," "],["=","the change for"],["-"," "],["+","\n"],["=","set_symbol_fields. Write the fields only after the user"],["-","\n"],["+"," "],["=","confirmed them."],["+"," A symbol\nwith \"Exclude from BOM\" is not in the BOM of kicad-cli: the tool does not check\nits fields. A power symbol is never in the BOM."]]}},{"tool":"detect_pin_conflicts","fields":{"description":[["-","Find"],["+","Give"],["="," the"],["-"," nets with"],["="," pin conflicts "],["-","in"],["+","of"],["="," a "],["-","schematic."],["+","schematic: the items of the ERC of kicad-cli about the\nconnections of the symbol pins."],["=","\n\nThe "],["+","tool runs the ERC of kicad-cli on the full project (as run_erc, with the\nseverities, the "],["=","pin"],["+"," map and the exclusions of the project) and gives only these\nitems of the ERC of KiCad 10:\n\n- pin_to_pin: two connected pins whose electrical"],["="," types "],["-","come"],["+","conflict"],["="," "],["-","from"],["+","in"],["="," the "],["-","netlist"],["+","pin map of\n  the project (an error or a warning). In the default pin map"],["="," of "],["-","kicad-cli."],["+","KiCad,"],["="," "],["-","A"],["+","two"],["="," "],["-","net"],["+","open\n  collector"],["="," "],["-","with"],["+","pins,"],["="," "],["-","more"],["+","two"],["="," "],["-","than"],["+","open"],["="," "],["-","one\noutput"],["+","emitter pins"],["="," or "],["-","driver"],["+","two"],["="," "],["-","pin"],["+","tri-state pins are OK: a wired OR or\n  a tri-state bus"],["="," is "],["-","an error. A net with one pin is"],["+","not"],["="," a "],["-","warning."],["+","conflict.\n-"],["="," "],["-","A"],["+","pin_not_driven, power_pin_not_driven: an input or a power input"],["="," pin with no"],["+","\n  output or power output pin on its net."],["=","\n"],["+","- pin_not_connected, no_connect_connected: a pin with no "],["=","connection"],["+"," and no \"no\n  connection\" flag, or a pin with the flag that"],["="," is "],["-","information."],["+","connected.\n-"],["="," "],["-","Run"],["+","isolated_pin_label:"],["="," "],["-","run_erc"],["+","a"],["="," "],["-","for"],["+","label that connects to only one pin.\n- duplicate_pins, different_unit_net: pins of one number, or a shared pin of the\n  units, on different nets.\n- ground_pin_not_ground: a ground pin that is not on a ground net.\n- missing_input_pin, missing_bidi_pin, missing_power_pin:"],["="," the "],["-","full electrical check"],["+","pins"],["="," of "],["-","KiCad."],["+","a unit that\n  is not placed.\n\nThe other items of the ERC (for example a wire end off the grid) are in run_erc.\nThe tool uses the last ERC report until a schematic file or a project file\nchanges: then it runs the ERC again. An excluded violation shows with \"(excluded)\"\nand does not count. \"✅\" comes only when the\nschematic is fully annotated: KiCad connects the pins by their references. With\nKiCad 8 or 9 installed, the answer has a warning: the list of items is the list of\nKiCad 10."]],"inputSchema":[{"path":"$.\"properties\".\"schematic_path\".\"description\"","old":"\"A .kicad_sch file of the project. The tool uses the\\ncomponents and the netlist of the full project.\"","new":"\"A .kicad_sch file of the project.\""},{"path":"$.\"properties\".\"severity\".\"default\"","new":"\"\""},{"path":"$.\"properties\".\"severity\".\"description\"","new":"\"Optional severity: \\\"error\\\" or \\\"warning\\\". Empty: all violations.\""},{"path":"$.\"properties\".\"severity\".\"type\"","new":"\"string\""}]}},{"tool":"download_registry_part","fields":{"description":[["=","Download the files of a part of the parts registry into a local folder.\n\nThe tool downloads only through HTTPS, only from the hosts of the registry, at\nmost 50 MB for each file, and only the file extensions of each format."],["+","\n\nThe tool replaces a file with the same name in save_dir. It does not check the\nfile version, and does not add the files to a library table: KiCad reads a\n.kicad_mod file only in a footprint library folder (.pretty). Add the library with\nadd_library_to_table: then copy_symbol_to_library and copy_footprint_to_library\ncan copy its items into a project library."]],"inputSchema":[{"path":"$.\"properties\".\"formats\".\"description\"","old":"\"The files to download: \\\"footprint\\\", \\\"symbol\\\", \\\"step\\\" and\\n\\\"preview\\\". Default: the footprint and the symbol.\"","new":"\"The files to download: \\\"footprint\\\", \\\"symbol\\\", \\\"step\\\", \\\"preview\\\"\\n(.glb), \\\"footprint_svg\\\" and \\\"symbol_svg\\\". Default: the footprint and the\\nsymbol.\""}]}},{"tool":"export_drc_report","fields":{"description":[["=","Run the DRC of kicad-cli on a board and copy its JSON report into a file."],["+","\n\nThe tool replaces an existing output file. The JSON report is the report of\nkicad-cli: it has the excluded violations (\"excluded\": true)."]],"inputSchema":[{"path":"$.\"properties\".\"output_path\".\"description\"","old":"\"Optional file of the report. Default: <board>_drc_report.json\\nnext to the board.\"","new":"\"Optional file of the report. Default: <board>_drc_report.json\\nnext to the board, or <board>_drc_refill_report.json with refill_zones\\n(the JSON report of kicad-cli does not tell the zone mode).\""},{"path":"$.\"properties\".\"refill_zones\".\"default\"","new":"false"},{"path":"$.\"properties\".\"refill_zones\".\"description\"","new":"\"True: kicad-cli fills all zones again before the DRC\\n(--refill-zones), as the DRC dialog of KiCad does by default (its check\\nbox \\\"Refill all zones before performing DRC\\\" is on). The fill is only in\\nmemory: the board file does not change. False (default): the DRC checks\\nthe zone fills that are saved in the file. An old fill can give\\nviolations that the dialog does not give, or miss some. Needs KiCad 10.\\nThe time limit of kicad-cli is 180 s with the refill, 60 s without it.\""},{"path":"$.\"properties\".\"refill_zones\".\"type\"","new":"\"boolean\""}]}},{"tool":"export_erc_report","fields":{"description":[["=","Run the ERC of kicad-cli on a schematic and copy its JSON report into a file."],["+","\n\nThe tool replaces an existing output file. The JSON report is the report of\nkicad-cli: it has the excluded violations (\"excluded\": true), and not the\nannotation errors of the ERC dialog (the answer tells them)."]]}},{"tool":"export_gerber","fields":{"description":[["=","Export the Gerber and drill files of a board with kicad-cli, for fabrication.\n\nThe tool runs \"kicad-cli pcb export gerbers\", then \"kicad-cli pcb export drill\",\nand gives the files that kicad-cli wrote."],["+","\n\nThe Gerber files use the plot settings that the board saves, as the Plot dialog of\nKiCad (--board-plot-params, PCBNEW_JOBS_HANDLER::JobExportGerbers): the options\nof the dialog and its selection of the layers that are not copper. kicad-cli plots\neach copper layer of the board, also a copper layer that the dialog does not\nselect. The output folder of the dialog has no effect: the files go to\noutput_dir. The drill files have the drill origin of the board (the auxiliary\norigin when the plot settings use it, as the drill dialog). The other options of\nthe drill dialog (format, units, zeros, map) are settings of the user, not of the\nboard: the drill files use the default options of kicad-cli (Excellon, mm).\nkicad-cli always writes the Gerber job file (.gbrjob), also when the plot settings\nof the board do not create it: kicad-cli has no option for it.\n\nThe tool deletes no file in output_dir: a file of an earlier export stays, and the\nlist gives only the files that this export wrote or changed. A failed drill export\nis a warning: the Gerber files stay."]],"inputSchema":[{"path":"$.\"properties\".\"refill_zones\".\"default\"","new":"false"},{"path":"$.\"properties\".\"refill_zones\".\"description\"","new":"\"True: kicad-cli fills all zones again before the plot\\n(--check-zones), as the Plot dialog of KiCad does by default (its check\\nbox \\\"Check zone fills before plotting\\\" is on). The fill is only in\\nmemory: the board file does not change. False (default): the Gerber\\nfiles have the zone fills that are saved in the file. Needs KiCad 10.0.\""},{"path":"$.\"properties\".\"refill_zones\".\"type\"","new":"\"boolean\""}]}},{"tool":"export_pcb_3d","fields":{"description":[["=","Export a board as a STEP 3D model with kicad-cli, for mechanical CAD.\n\nThe model has the board and the 3D models of its footprints. kicad-cli does not\nadd a 3D model that it cannot find or read: the tool then gives a warning with the\nfootprints and the reason. Tell the user about each such footprint."],["+"," The tool\nreplaces an existing STEP file with the same name."]]}},{"tool":"export_schematic_svg","fields":{"description":[["=","Export the pages of a schematic as SVG files with kicad-cli.\n\nkicad-cli renders the pages of the project with the hierarchy of its root\nschematic (the schematic of the project name), thus each page has the\nreferences of its sheet path. For the root schematic, the files are all pages\nof the project. For an other file (a sub-sheet), the files are the pages of\nits sheet paths (a sheet that the hierarchy uses two times gives two pages).\nAn SVG file is a vector image: a zoom shows each detail with no loss. The tool\nneeds kicad-cli."],["+"," The tool replaces a file with the same name in output_dir; the\nother files of the folder stay."]]}},{"tool":"find_tracks_by_net","fields":{"description":[["=","Give the tracks and the vias of one net of a board, with their lengths and widths."],["+","\n\nThe tool also gives the copper zones of the net (no rule area, no teardrop), each\nwith all of its copper layers on the board, from the top. \"Track Layers\" is the\nlayers of the tracks only. For a net with no tracks, vias or zones, the tool gives\nthe nets whose name contains the name (no difference between upper and lower case).\n\nThe layers are the standard names of the copper layers (F.Cu, In1.Cu, B.Cu), also\nwhen the layer table of the board has user names for them (\"Top\"): KiCad shows the\nuser names in its GUI.\n\nGive the full net name of the board, case-sensitive (for example \"/SDA\" for a local\nlabel of the root sheet). The total length is the sum of the track segments, with\nno vias and no pads. The tables show 50 segments and 20 vias, in the order of the\nboard file. The warning about different track widths comes from the tool, not from\na DRC. With the text reader (no pcbnew), the zones have no fill state."]]}},{"tool":"generate_netlist","fields":{"description":[["=","Make the netlist of a schematic with kicad-cli, and give the path of its file.\n\nkicad-cli writes the netlist (KiCad XML) of the full project into a file in the\ntemporary folder of the system. Give this file to trace_netlist_connection,\nget_netlist_nets and get_netlist_components. Make the netlist again after a change\nof the schematic."],["+"," The file name comes from the root schematic: each call replaces\nthe netlist file of an earlier call for the same project."]]}},{"tool":"get_drc_violations","fields":{"description":[["=","Give the DRC violations of a board, with a filter by type."],["+","\n\nThe tool uses the last DRC report of the same zone mode until the board, a project\nfile, a .kicad_dru file or a schematic of the project changes: then it runs the DRC\nagain (run_drc). The list has all violations of the type. An excluded violation\nshows with \"(excluded)\" and does not count. A filter that matches no active\nviolation gives \"✅\" only when the board has no active violation of an other type,\nelse \"⚠️\" with their count (also for a type with a typing error)."]],"inputSchema":[{"path":"$.\"properties\".\"refill_zones\".\"default\"","new":"false"},{"path":"$.\"properties\".\"refill_zones\".\"description\"","new":"\"True: kicad-cli fills all zones again before the DRC\\n(--refill-zones), as the DRC dialog of KiCad does by default (its check\\nbox \\\"Refill all zones before performing DRC\\\" is on). The fill is only in\\nmemory: the board file does not change. False (default): the DRC checks\\nthe zone fills that are saved in the file. An old fill can give\\nviolations that the dialog does not give, or miss some. Needs KiCad 10.\\nThe time limit of kicad-cli is 180 s with the refill, 60 s without it.\""},{"path":"$.\"properties\".\"refill_zones\".\"type\"","new":"\"boolean\""}]}},{"tool":"get_erc_violations","fields":{"description":[["=","Give the ERC violations of a schematic, with a filter by severity."],["+","\n\nThe tool uses the last ERC report until a schematic file or a project file\nchanges: then it runs the ERC again (as run_erc, with the annotation check of the\nERC dialog). The list has all violations of the severity. An excluded violation\nshows with \"(excluded)\" and does not count."]]}},{"tool":"get_library_symbol","fields":{"description":[["=","Show the content of a symbol of a KiCad library: fields, units and pins.\n\nThe library comes from the library tables of the installed KiCad and of\nthe project, as in the symbol chooser of KiCad. A derived symbol (extends\n...) is shown as KiCad places it: the fields of the symbol and of its\nparents, the flags of its parent, and the units and pins of its root symbol."],["+","\n\nThe tool reads symbol libraries of KiCad 8 and later. An older library gives an\nerror with the step for the user (kicad-cli sym upgrade), and a library of a\nnewer version than the installed KiCad gives an error."]]}},{"tool":"get_netlist_components","fields":{"description":[["=","Give the components of a netlist file with the nets of their pins."],["+","\n\nTotal Components counts all components of the netlist, also with filter_ref. The\nnetlist has no power symbols."]]}},{"tool":"get_netlist_nets","fields":{"description":[["=","Give the nets of a netlist file with their pins."],["+","\n\nTotal Nets counts all nets of the netlist, also with filter_pattern. Each net shows\nits first 10 pins. The netlist of KiCad has a net \"unconnected-(...)\" for each\nunconnected pin: these nets are in the list."]],"inputSchema":[{"path":"$.\"properties\".\"filter_pattern\".\"description\"","old":"\"Optional regular expression for the net names (no\\ndifference of case). Empty: all nets.\"","new":"\"Optional regular expression for the net names (the syntax of\\nthe Python module re, no difference of case), found in a part of the\\nfull name with the sheet path. Empty: all nets. A pattern that is not a\\nregular expression gives an error before the tool reads the netlist, and\\na search that takes longer than 15 s gives an error.\""}]}},{"tool":"get_pcb_statistics","fields":{"description":[["=","Give the size, the layers, the counts and the design rules of a board."],["+","\n\nThe zone count is the count of the copper zones, as the Zone Manager of KiCad lists\nthem: no rule area (keepout), no teardrop, and no zone on non-copper layers only.\nThe size is the bounding box of the Edge.Cuts shapes of the board and of its\nfootprints, with the line width (BOARD::ComputeBoundingBox): an outline of 100 x\n100 mm with lines of 0.15 mm gives 100.15 x 100.15 mm. The pad count is all pads of\nthe footprints, also NPTH (FOOTPRINT::GetPadCount).\n\nWith the text reader (no pcbnew), the answer has no size, no net count and no design\nrules."]]}},{"tool":"get_schematic_info","fields":{"description":[["=","Give the title block, the counts and the sheets of a schematic file.\n\nThe components and the sheet symbols are the ones that KiCad loads for the\nproject of the file (the references of each sheet path). The tool needs\nkicad-cli (the rules of the KiCad version)."],["+"," A package with more units is one\ncomponent. Total Nets is the number of the names of the labels and of the power\nsymbols of the file (as list_schematic_nets gives them), not the number of the\nnets of the netlist."]]}},{"tool":"get_symbol_details","fields":{"description":[["=","Give the fields and the pins of one component of a schematic."],["+","\n\nThe fields are each field of the placed symbol as KiCad 10 loads it: the mandatory\nfields (Reference, Value, Footprint, Datasheet, Description), then the user fields\n(for example MPN) in the order of the file. Each text is a JSON string: \"\" is an\nempty field, and \"\\n\" in it is a line feed. Some properties of the result come\nfrom the load of KiCad and are correct:\n\n- \"~\" of a file older than KiCad 10 is an empty text. KiCad removes the white space\n  at the two ends of the text of a mandatory field, not of a user field.\n- A user field with the name of an earlier field gets the name \"<name>_1\" (to\n  \"<name>_9\").\n\nLimits: the tool reads the saved files, thus a change that KiCad has not saved is\nnot in the result. The position, the unit, the sheet and the fields come from the\nfirst placed unit. A unit of the package with other field texts gets a warning\nline. With KiCad 8 or 9 installed, the tool gives only the mandatory fields."]]}},{"tool":"list_pcb_footprints","fields":{"description":[["=","Give the footprints of a board."],["+","\n\nThe layer of a footprint is the standard name of its copper layer, F.Cu or B.Cu,\nalso when the layer table of the board has a user name for it (\"Top\"): KiCad shows\nthe user name in its GUI."]],"inputSchema":[{"path":"$.\"properties\".\"filter_layer\".\"description\"","old":"\"Optional layer of the footprints to give, for example\\n\\\"F.Cu\\\" or \\\"B.Cu\\\". Empty: all footprints.\"","new":"\"Optional layer of the footprints to give: \\\"F.Cu\\\" or \\\"B.Cu\\\" (a\\nuser name of the layer gives an error). Empty: all footprints.\""}]}},{"tool":"list_schematic_components","fields":{"description":[["=","Give the components of a schematic file.\n\nEach placed symbol of the file is in the list one time for each sheet path of\nthe file, with the reference and the unit that KiCad gives that path (a sheet\nthat the hierarchy uses two times gives two references). Power symbols are not\ncomponents. The tool needs kicad-cli (the rules of the KiCad version)."],["+","\n\nEach placed unit of a package is a row of its own with the same reference (U1 four\ntimes for four units), and the table has no unit column. This is correct, not a\nduplicate reference. Total counts the rows (the placed units), not the packages."]],"inputSchema":[{"path":"$.\"properties\".\"filter_type\".\"description\"","old":"\"Optional start of the references, for example \\\"R\\\", \\\"C\\\" or\\n\\\"U\\\" (no difference of case).\"","new":"\"Optional start of the references, for example \\\"R\\\", \\\"C\\\" or\\n\\\"U\\\" (no difference of case). \\\"R\\\" also gives RV1 and RN1.\""}]}},{"tool":"list_schematic_nets","fields":{"description":[["=","Give the "],["-","nets"],["+","names of the labels and of the power symbols"],["="," of a schematic file.\n\nThe "],["-","tool"],["+","table"],["="," "],["-","reads"],["+","gives the names of"],["="," the labels and"],["+"," of"],["="," the power symbols of "],["+","this file, not\n"],["=","the "],["-","file."],["+","nets"],["="," "],["-","A"],["+","of KiCad: KiCad adds the sheet path to a local label of a sub-sheet\n(\"/Power/VIN\"), gives one name to a net with more labels, and names a"],["="," net with no"],["+","\nlabel. A"],["="," label"],["+"," with no connection is in the list too. Each name is in the list one\ntime. Type is the first kind that has the name, in this sequence: global, local,\nhierarchical, power. Code is the index of the name when the tool reads the kinds\nin this sequence, each in the order of the file (from 0): it is not the net code"],["=","\nof "],["-","a sub-sheet needs "],["=","the "],["-","full"],["+","netlist."],["="," "],["-","hierarchy: use"],["+","Use"],["="," generate_netlist on the root"],["-","\n"],["+"," "],["=","schematic for "],["-","all"],["+","the"],["="," "],["-","nets."],["+","nets of KiCad."]]}},{"tool":"render_pcb","fields":{"description":[["=","Render a 3D view of a board as an image with kicad-cli (KiCad 9 or later).\n\nThe image has the board and the 3D models of the footprints: a footprint with no\n3D model has no body in the image. Use the image for a visual review of the layout."],["+","\nThe tool replaces an existing image file with the same name."]]}},{"tool":"run_drc","fields":{"description":[["=","Run the DRC of kicad-cli on a board.\n\nThe tool uses the severities of the project. When the schematic of the board\nname is next to the board, the DRC also checks the parity of the schematic and\nthe board."],["+"," The answer tells if the DRC used new zone fills or the fills of the\nfile.\n\nThe table shows 20 violations: the errors first, and in each severity the\nunconnected items and the schematic parity items before the other violations\n(they are at the end of the report). The description is cut to 40 characters:\nget_drc_violations gives all of them. The table also has the violations that the\nproject excludes, marked \"(excluded)\", after the others: Total Violations counts\nthem, the counts of errors and warnings do not."]],"inputSchema":[{"path":"$.\"properties\".\"refill_zones\".\"default\"","new":"false"},{"path":"$.\"properties\".\"refill_zones\".\"description\"","new":"\"True: kicad-cli fills all zones again before the DRC\\n(--refill-zones), as the DRC dialog of KiCad does by default (its check\\nbox \\\"Refill all zones before performing DRC\\\" is on). The fill is only in\\nmemory: the board file does not change. False (default): the DRC checks\\nthe zone fills that are saved in the file. An old fill can give\\nviolations that the dialog does not give, or miss some. Needs KiCad 10.\\nThe time limit of kicad-cli is 180 s with the refill, 60 s without it.\""},{"path":"$.\"properties\".\"refill_zones\".\"type\"","new":"\"boolean\""}]}},{"tool":"run_erc","fields":{"description":[["=","Run the ERC of kicad-cli on a schematic, with the annotation check of the ERC dialog.\n\nThe tool uses the severities of the project. It also runs the annotation check\nof the ERC dialog of KiCad (symbols that are not annotated, duplicate\nreferences, units with different values), which kicad-cli does not run."],["+"," For a\nsub-sheet, the tool checks the root schematic of the project (the answer tells\nit).\n\nThe table shows the first 20 violations, with the description cut to 50\ncharacters: first the violations of the annotation check, then the violations of\nthe report of kicad-cli in its order. get_erc_violations gives all of them. The\ntable also has the violations that the project excludes, marked \"(excluded)\":\nTotal Violations counts them, the counts of errors and warnings do not."]]}},{"tool":"search_components_by_type","fields":{"description":[["=","Find the components of a type, for example OLED, sensor or display (heuristic).\n\nThe tool searches the value, the footprint and the net names of each\ncomponent. It reads the netlist that kicad-cli writes now: each component of\neach sheet path, at each level of the hierarchy, with the reference of that\npath. The netlist has no power symbols and no symbol with no library symbol.\nThe tool needs kicad-cli."],["+","\n\nThe types OLED, sensor, display, SPI, I2C, UART, power, memory and wireless\nsearch a list of words (for example SPI: spi, mosi, miso, sck, cs). An other type\nis one word to search. The tool finds a word in a part of the value, of the\nfootprint or of a net name of the component (no difference of case). Thus a\ncomponent on a net of the type (a pull-up resistor on SDA) is in the result, and\nshort words (cs, tx, rx, esp) give false matches. The output gives the words.\nEach component shows its first 10 connections."]]}},{"tool":"search_library_footprints","fields":{"description":[["=","Search the footprints of the KiCad libraries by name, description and tags.\n\nEach word of the query must be in the library ID\n(\"Resistor_SMD:R_0603_1608Metric\"), the description or the tags. The order\nis that of the footprint chooser of KiCad: an exact name first, then the\nbest score. The first search reads all libraries (some seconds); then an\nindex in the user cache directory is used until a library file changes."],["+","\n\nThe tool searches only libraries of the type KiCad, not a disabled library, and\nnot a hidden library unless include_hidden or library asks for it. A library file\nof a newer version than the installed KiCad gives no results (KiCad cannot read\nit). The output tells a library of an other type and a library file that the tool\ncannot read."]]}},{"tool":"search_library_symbols","fields":{"description":[["=","Search the symbols of the KiCad libraries by name, description and keywords.\n\nEach word of the query must be in the library ID (\"Device:R\"), the\ndescription, the keywords or the default footprint. A derived symbol gets\nthe empty fields from its parent. The order is that of the symbol chooser\nof KiCad: an exact name first, then the best score. The first search reads\nall libraries (some seconds); then an index in the user cache directory is\nused until a library file changes."],["+","\n\nThe tool searches only libraries of the type KiCad, not a disabled library, and\nnot a hidden library unless include_hidden or library asks for it. A library file\nof a newer version than the installed KiCad gives no results (KiCad cannot read\nit). The output tells a library of an other type and a library file that the tool\ncannot read."]]}},{"tool":"search_parts_registry","fields":{"description":[["=","Search an open registry of KiCad parts (no login).\n\nThe tool compares the query with the ID, the name, the family, the category, the\nmanufacturer and the keywords of each part. Example queries: \"usb c connector\",\n\"0402 capacitor\", \"nrf9151\"."],["+"," The results are the first matches in the order of the\nregistry index, with no ranking."]]}},{"tool":"search_symbols","fields":{"description":[["=","Find the components of a schematic whose reference, value or library ID match a pattern."],["+","\n\nThe tool searches only the components of this file (in each of its sheet paths),\nnot the sheets below it. A component matches when the pattern is in a part of the\ntext (Python re.search). The table shows the first 50 matches, and the count of\nthe others."]],"inputSchema":[{"path":"$.\"properties\".\"pattern\".\"description\"","old":"\"A regular expression (no difference of case).\"","new":"\"A regular expression with the syntax of the Python module re (no\\ndifference of case). Empty: all components. A pattern that is not a\\nregular expression gives an error, and a search that takes longer than\\n15 s gives an error.\""}]}},{"tool":"set_symbol_fields","fields":{"description":[["=","Write the fields of placed symbols, as KiCad writes them.\n\nThe tool writes each field into each unit of the reference (one package\nhas one Value and one MPN). A field that the symbol does not have becomes\na new field, hidden as KiCad 9 and 10 make it (a file of KiCad 8: visible;\nValue_Confirmed and MPN_Confirmed: always hidden). With a variant (KiCad 10), the\ntool writes the fields of that variant into each unit: a value equal to the\nfield of the symbol removes the field from the variant. The tool checks all\nchanges and all files first, and writes no file when a check fails. It writes\nall files or no file: an error of the disk also changes no file. KiCad must not\nhave the files open. A schematic file of the project with an older version than\nthe installed KiCad writes is an error: the user converts it in KiCad first (the\noutput gives the step).\n\nA symbol in a sheet that the hierarchy uses more than one time has one set\nof fields for all its references (U201 and U301): give the same fields for\neach of these references, or write different fields through a variant.\n\n"],["+","The tool refuses a reference that is not annotated (U?), a duplicate reference,\nthe field Reference, a mandatory field name in an other case (\"value\": give\n\"Value\"), the fields Sim.Enable and Spice_Netlist_Enabled (KiCad removes them when\nit loads the symbol), a symbol with two fields of one name (a mandatory field\ntwo times, or more than ten user fields of one name), a file that KiCad loads\nunder more than one name, and a project whose full sheet hierarchy the tool\ncannot read. An error gives the reason, and the step in KiCad when one is\nnecessary.\n\nWith KiCad 10, the field names are the names that KiCad gives the fields when it\nloads the symbol, as get_symbol_details gives them: a second field \"MPN\" of the\nfile has the name \"MPN_1\" (to \"MPN_9\"). Give that name to write that field: the\ntool changes its text and keeps its name in the file (KiCad writes \"MPN_1\" at its\nnext save). With KiCad 8 and 9, the names are the names of the file.\n\nA new field has the position of the symbol and the angle of the Reference field,\nas KiCad adds it. In a file of KiCad 8, a new field is visible on the body of the\nsymbol: this is correct, not a defect.\n\n"],["=","Use it for the fields that project_check of datasheet-lens or\ncheck_symbol_fields gives (MPN_Confirmed and Value_Confirmed for a\nconfirmation; Value, MPN, MPN_Confirmed and Value_Confirmed for the move of\nthe old convention), after the user confirmed them."]]}},{"tool":"setup_pcb_layout","fields":{"description":[["=","Make a new board with an outline, next to the schematic.\n\nThe board has the name of the schematic, a rectangle "],["+","of four lines "],["=","on Edge.Cuts,"],["-"," "],["+","\n"],["=","two copper"],["-","\n"],["+"," "],["=","layers and the default design rules. It has no footprints, tracks or"],["-"," "],["+","\n"],["=","nets: use"],["-","\n"],["+"," "],["=","\"Update PCB from Schematic\" of KiCad for the footprints."],["+"," The rectangle\ngoes from (0, 0) to (width, height): its top left corner is at the top left corner\nof the page."],["=","\n\npcbnew of the installed KiCad makes the board (a Python with pcbnew is\nnecessary), thus the board has the file format of the installed KiCad, as\nwhen the user makes it in the PCB editor. When that is newer than the\nKiCad of the schematic, the output has a warning: tell the user that the\nolder KiCad cannot open the board. The tool does not change the project\nfile.\n\nWhen the .kicad_pcb file exists, the tool does not write it and returns\nan error. A new board removes all footprints, tracks and zones of the\nexisting board. Ask the user before you set overwrite=True."]]}},{"tool":"trace_hierarchical_connection","fields":{"description":[["=","Trace the connections of a component across the full schematic hierarchy.\n\nThe tool reads the netlist that kicad-cli writes now: it has each component of\neach sheet path, at each level of the hierarchy, with the reference of that\npath (a sheet that the hierarchy uses two times gives two references). The\nnetlist has no power symbols and no symbol with no library symbol. The tool\nneeds kicad-cli."],["+","\n\nThe connected pins of a net are the pins of the other components: a pin of the\nsame component on the net is not in the list. Each net shows 15 pins or less."]]}},{"tool":"trace_netlist_connection","fields":{"description":[["=","Give the nets of the pins of a component, and the pins on each net.\n\nThe netlist of kicad-cli is the most exact source for the connections. Make it\nwith generate_netlist, and again after a change of the schematic."],["+","\n\nThe pins on a net are the pins of the other components: a pin of the same\ncomponent on the net is not in the list. Give no pin_number to see each pin of the\ncomponent. The reference and the pin number are case-sensitive."]]}}],"detail":"full","newAddresses":["in1.cu"],"newAddressesTotal":1},"label_id":"urn:uuid:99f148d0-6b1f-427d-8686-a2456c476cf6","run_id":430988,"from_package_version":"0.1.0","to_package_version":"0.2.0","from_server_version":"3.4.11","to_server_version":"3.4.11","from_registry_version":"0.1.0","to_registry_version":"0.2.0","name":"io.github.turbyho/kicad-workbench","endpoint":"pypi:kicad-workbench","title":"KiCad Workbench"}