design_snapshot_inventory
Scan .SchLib files and return an inventory of components, with optional name filtering and per-library limits to keep output within token budgets.
Instructions
Open a list of SchLib files and return what components live in them.
NDA scope: only pass paths to the user's own neutral standard libraries. Do NOT pass project-local library paths from another client engagement, design knowledge cannot cross NDA boundaries.
Large libraries (passives/connectors can hold hundreds of parts)
easily exceed the tool-output token budget, so the RETURNED set is
filtered and capped. The FULL inventory is always cached to
<workspace>/inventory.json for the dashboard regardless of
these limits.
Args:
library_paths: Absolute paths to .SchLib files to scan.
name_filter: Case-insensitive substring; keep only components
whose lib_ref or description contains it (e.g. "10k",
"NE555"). Empty = no filter.
limit_per_library: Cap components returned per library
(default 60; 0 = unlimited). Each library reports
total and returned so you know if it was capped.
include_descriptions: Drop the (often long) description
field from the returned rows to save tokens. Default True.
Returns:
Inventory dict: {"libraries": [{"path", "total", "returned", "components": [...]}]}. Each component carries
lib_ref, designator_prefix, pin_count, description (unless
suppressed), and footprint when available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name_filter | No | ||
| library_paths | Yes | ||
| limit_per_library | No | ||
| include_descriptions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||