Search SolidWorks API
search_solidworks_api_helpFind SolidWorks API interface and member names by keyword when you don't know the exact name, then use the returned matches to look up method parameters and return types.
Instructions
Search SolidWorks API interface and member names by keyword.
Use this when you don't know the exact name: "chamfer" finds IFeatureManager.InsertFeatureChamfer. Then call lookup_api_method on a match for its parameters and return type. Matches come from the SolidWorks type library installed on this machine.
Setup: none. SolidWorks must be installed, not running; it is never
contacted. Read-only. The first call builds the index (about a
second) and later calls reuse it. index_status is ready
(saved index), rebuilt (built for this call) or unavailable
(no index could be built; guidance says why).
Returns matches (interface, member, member_type, score),
guidance, and fallback_help suggesting MCP tools for the
task, with year and type_library_version of the library that
answered.
Example input: {"query": "chamfer", "max_results": 5}
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": "search_solidworks_api_help"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | No | The search. `query` (one or more words) is required; `max_results` and `year` have defaults. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||