add_production_item
Add a business host (service, process, or operation) to an InterSystems IRIS production by specifying class name, config name, and optional settings.
Instructions
Add a Business Host (Service / Process / Operation) to a production on the current namespace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_name | Yes | Full class name of the host (e.g. 'EnsLib.REST.GenericService', 'MCPTest.BP.QueryService'). | |
| config_name | Yes | Config name of the new item inside the production. | |
| production_name | No | Production class name. If empty, the active production is used. | |
| comment | No | Optional comment shown in the production page. | |
| pool_size | No | Pool size (jobs). Use 0 for on-demand BPL processes. | |
| enabled | No | Whether the item is enabled at startup. | |
| settings | No | Optional dict of {SettingName: value} pairs applied as Host settings. Typical example for a BS routing to a BP: {"TargetConfigNames": "MyBP"} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |