interoperability_production_stop
Stop an Interoperability Production in InterSystems IRIS with configurable timeout and force options to manage system processes.
Instructions
Stop an Interoperability Production
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| force | No |
Implementation Reference
- The tool handler function interoperability_production_stop is defined and registered via @server.tool decorator inside the init function. It stops the production by calling Ens.Director.StopProduction with timeout (default 10) and force flag.@server.tool(description="Stop an Interoperability Production") 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"