set_rung_comment
Set a comment on a specific rung in a CX-Programmer ladder logic project, using project, program, section, and rung index identifiers.
Instructions
Set the comment attached to one rung.
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>",
"rung_index": "<rung_index>",
"comment": "<comment>"
},
"name": "set_rung_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | Yes | ||
| project_id | Yes | ||
| rung_index | Yes | ||
| program_name | Yes | ||
| section_name | Yes | ||
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||