Find Related API Members
find_related_api_membersExplore the SolidWorks API around a known call: pass an interface or member name to get its own members or the members of interfaces that share it, plus name matches.
Instructions
Find SolidWorks API members related to an interface or member name.
For an interface: its own members. For a member: the other members of every interface that also has it (often used together), plus members whose names contain it. Use it to explore around a call you know, such as what sits beside InsertSketch.
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.related: each member's interface, name, type and
why it is related. result.found false means nothing matched, or
no index could be built, in which case result.note says why.
Example input: {"name": "InsertSketch", "max_results": 10}
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": "find_related_api_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | No | What to explore. `name` (an interface or member) is required; `max_results` and `year` have defaults. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||