add_assembly_step
Insert a new step into assembly.xml and optionally wire it after an existing step, automatically rewiring routes-to so the new step inherits the predecessor's routing.
Instructions
Insert a new step into assembly.xml. Optionally wire it after an existing step (updates the predecessor's routes-to automatically). The new step inherits the predecessor's original routes-to as its own routes-to.
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_name": "<project_name>",
"step_id": "<step_id>",
"step_type": "<step_type>"
},
"name": "add_assembly_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | Step-specific options. Common: xsl_file, url, method, xpath, href, endpoint, description, output_mimetype, extra_path, branches (JSON array). workday-out-soap: application, version. send-error/log-error: rethrow_error, level. xml-to-csv: separator, line_separator, write_header_line, format. csv-to-xml: separator, use_first_line_as_header, root_name, row_name, format. | |
| step_id | Yes | Unique ID for the new step (e.g. "TransformWorkerData") | |
| routes_to | No | Override what this step routes to. If after_step_id is set, defaults to the predecessor's current routes-to. | |
| step_type | Yes | The cc: step type to add | |
| project_name | Yes | The Studio project name | |
| after_step_id | No | Insert after this existing step and rewire its routes-to. Omit to append before </cc:assembly>. |