create_section
Create a new empty program section in a task. Specify the task, section name, and programming language (ST, LD, FBD, SFC, IL, LL984).
Instructions
Create a new empty program section in a task.
language: ST, LD, FBD, SFC, IL or LL984. To fill it with logic, follow up with import_xml(kind='section') using XML in the shape returned by read_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": {
"task": "<task>",
"name": "<name>"
},
"name": "create_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| name | Yes | ||
| language | No | ST |