jenkins_rename_job
Rename an existing Jenkins job by specifying the current job name and the new desired name. Update job identifiers across your Jenkins server configuration with this command.
Instructions
Rename a Jenkins job.
Args: job_name: Current job name new_name: New name for the job session_name: Jenkins session to use
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": {
"job_name": "<job_name>",
"new_name": "<new_name>"
},
"name": "jenkins_rename_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_name | Yes | ||
| new_name | Yes | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |