create_job_from_cronjob
Manually trigger a scheduled OpenShift CronJob by creating a Job from its template, specifying job name, namespace, and cluster.
Instructions
Create a Job immediately from a CronJob template (manual trigger).
Args: cronjob_name: Source CronJob name. job_name: Name for the newly created Job. namespace: Namespace (default: "default"). cluster: Named cluster to target (empty = default).
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": {
"cronjob_name": "<cronjob_name>",
"job_name": "<job_name>"
},
"name": "create_job_from_cronjob"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster | No | ||
| job_name | Yes | ||
| namespace | No | default | |
| cronjob_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |