interoperability_production_recover
Restore functionality to an InterSystems IRIS interoperability production, ensuring continued data flow and system operations within the MCP environment.
Instructions
Recover an Interoperability Production
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/mcp_server_iris/interoperability.py:164-164 (registration)Tool registration via @server.tool decorator defining the recover tool.@server.tool(description="Recover an Interoperability Production")
- The main handler function that logs the action, retrieves the IRIS instance, calls RecoverProduction on Ens.Director using raise_on_error, and returns success message.async def interoperability_production_recover( ctx: Context, ) -> str: logger.info("Recovering Interoperability Production") iris = ctx.iris raise_on_error( iris, iris.classMethodString("Ens.Director", "RecoverProduction") ) return "Recovered"