filter_components
Filter components by library ID, value, pattern, or footprint; returns parts matching all criteria for KiCad schematics and BOMs.
Instructions
Filter components by various criteria.
Returns components matching the specified filter criteria. All provided criteria must match (AND logic).
Args: lib_id: Filter by library ID (exact match, e.g., "Device:R") value: Filter by value (exact match, e.g., "10k") value_pattern: Filter by value pattern (substring match, e.g., "10") footprint: Filter by footprint (exact match) ctx: MCP context for progress reporting (optional)
Returns: Dictionary with success status and list of matching components
Examples: >>> # Find all resistors >>> result = await filter_components(lib_id="Device:R") >>> print(f"Found {result['count']} resistors")
>>> # Find all 10k resistors
>>> result = await filter_components(lib_id="Device:R", value="10k")
>>> # Find all components with "100" in value
>>> result = await filter_components(value_pattern="100")Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | ||
| lib_id | No | ||
| footprint | No | ||
| value_pattern | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||