create_subscription
Creates an OLM Subscription to install an operator from a CatalogSource, using package, channel, source, and namespace details.
Instructions
Create an OLM Subscription to install an operator from a CatalogSource. install_mode is informational only (set via OperatorGroup, not Subscription spec).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"namespace": "<namespace>",
"package": "<package>",
"channel": "<channel>",
"source": "<source>"
},
"name": "create_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| source | Yes | ||
| channel | Yes | ||
| cluster | No | ||
| package | Yes | ||
| namespace | Yes | ||
| install_mode | No | OwnNamespace | |
| source_namespace | No | openshift-marketplace |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |