stop_python
Halts a running Python script at its next line when it outlives its call, without waiting on a busy COM thread; it cannot interrupt a COM call hung inside SolidWorks.
Instructions
Stop the run_python script that is running now, at its next line.
For a script that outlived its call (the call's error says the server, not SolidWorks, is working). It does not wait on the busy COM thread. A COM call that hangs inside SolidWorks is not interrupted.
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": "stop_python"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||