mat_library_list
List COMSOL material libraries or browse and filter materials in a selected library from an offline catalog, without requiring a running COMSOL session.
Instructions
List material libraries, or the materials of one library.
The catalog is built offline from the COMSOL installation (3141 materials in 19 libraries for COMSOL 6.4) and needs no running COMSOL session.
Args: library: library id or label, e.g. "comsol_basic_material_lib" or "Built-in" / "Fluids" / "AC/DC" / "Optical". Omit to list libraries. category: optional category filter (e.g. "Gases", "Liquids", "Rare earth permanent magnets") when listing materials. query: optional name/tag substring filter. limit: maximum number of materials to return (default 100, max 1000). offset: pagination offset. Returns: {"libraries": [...]} when no library is given, otherwise {"library": ..., "total": N, "materials": [{name, path, category, ...}]}.
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": "mat_library_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| offset | No | ||
| library | No | ||
| category | No |