list_libraries
List loaded LTspice libraries and optionally show all .SUBCKT and .MODEL names within each library, making component definitions discoverable.
Instructions
List loaded libraries. With detail=true, also shows the .SUBCKT and .MODEL names defined in each library (so foundry .bjt/.mod files with hundreds of .MODEL cards are discoverable without guessing).
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": "list_libraries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Include model names from each library | |
| path | No | Filter to a specific library path | |
| offset | No | Pagination offset | |
| limit | No | Max results to return (server caps at 50; page with offset) | |
| format | No | Response format: 'json' for structured data, 'text' for human-readable |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| libraries | No | ||
| pagination | No |