rename_section
Renames an existing section within a CX-Programmer ladder logic program to update its identifier as needed.
Instructions
Rename one program section.
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": {
"project_id": "<project_id>",
"program_name": "<program_name>",
"section_name": "<section_name>",
"new_name": "<new_name>"
},
"name": "rename_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | ||
| project_id | Yes | ||
| program_name | Yes | ||
| section_name | Yes | ||
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||