interoperability_production_stop
Stop an Interoperability Production in InterSystems IRIS MCP Server with optional timeout and force parameters to manage system operations effectively.
Instructions
Stop an Interoperability Production
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| timeout | No |
Implementation Reference
- The async handler function implementing the tool logic. It stops the Interoperability Production using the IRIS Ens.Director.StopProduction method with optional timeout and force parameters.async def interoperability_production_stop( ctx: Context, timeout: int = None, force: bool = False, ) -> str: logger.info("Sopping Interoperability Production.") iris = ctx.iris raise_on_error( iris, iris.classMethodString( "Ens.Director", "StopProduction", timeout or 10, force ), ) return "Stopped production"
- src/mcp_server_iris/server.py:56-56 (registration)The call to init (imported as interoperability) from interoperability.py, which defines and registers the tool on the MCP server instance.interoperability(server, logger)