create_project_from_template
Create a new offline CX-Programmer project by cloning a native CXT/CXP template, preserving PLC setup and I/O configuration while blanking program surfaces for new ladder logic.
Instructions
Create a new offline CX-Programmer project session from a native CXT/CXP template.
Use a bundled template_id for supported CPUs. For maximum fidelity with another CPU or CX-Programmer release, create one blank project in CX-Programmer and pass its .CXT/.CXP as template_path. The MCP clones the opaque PLC setup/I/O/unit configuration from that native template and blanks only the program surfaces. Optionally saves the new project as .CXT immediately.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_project_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plc_name | No | NewPLC1 | |
| overwrite | No | ||
| output_path | No | ||
| template_id | No | CJ2M_CPU11 | |
| program_name | No | NewProgram1 | |
| project_name | No | NewProject | |
| section_name | No | Section1 | |
| template_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||