manage_call
Check status or cancel a long-running Inventor call that outlived its wait, showing elapsed time, dialogs, output, and progress, or stopping the running script.
Instructions
Follow or stop a call that outlived the wait — a long execute_python, a Content Center scan, one stuck behind an Inventor dialog.
"status": elapsed time, any open dialog's text, output so far, progress() line (with the time left after progress(done, total)) — and the result once it has finished. wait_seconds waits (at most 45 s) and returns as soon as it ends. The result of a call that outlived the wait is also written as JSON under ~/.inventor-mcp/calls (INVENTOR_MCP_CALLS) — the message that says it keeps running names the file — so it can be read there if this tool can't be called. "cancel": cancelled() in execute_python code turns True at once; code still running after 2 s gets a KeyboardInterrupt, repeated until it stops. That lands at the next Python line: a call stuck INSIDE one COM operation or behind a dialog stops only once that returns.
Args: action: "status" or "cancel". wait_seconds: For "status".
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": "manage_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | status | |
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| wait_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |