Look Up API Interface
lookup_api_interfaceList all methods and properties of a SolidWorks COM interface, like IFeatureManager, to see what it offers or confirm which interface a member belongs to before calling it.
Instructions
List every method and property of a SolidWorks COM interface.
Use this to see what an interface offers, such as IFeatureManager, or to check which interface a member is really on before calling it. For one member's parameters, use lookup_api_method. Names match regardless of case.
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).
Returns result with methods, properties and their counts.
result.found false means the interface isn't in the type library,
or no index could be built, in which case result.note says why.
Example input: {"interface": "IFeatureManager"}
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": "lookup_api_interface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | No | The interface. `interface` (e.g. "IFeatureManager") is required; `year` has a default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||