eco_create
Create an Engineering Change Order (ECO) that bundles specified ECNs, commits changes to a repository, and optionally generates a pull request.
Instructions
Create a new Engineering Change Order (ECO) that bundles ECNs.
The API clones the repo, creates the ECO file in ECO/, commits, and optionally creates a PR.
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>",
"eco_id": "<eco_id>",
"title": "<title>",
"revision": "<revision>"
},
"name": "eco_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Source Parts project ID or git repo URL | |
| eco_id | Yes | ECO identifier (e.g. 'ECO-003') | |
| title | Yes | ECO title describing the change scope | |
| revision | Yes | Revision identifier (e.g. 'EVT1 → EVT2', 'DVT updates') | |
| ecn_ids | No | List of ECN IDs to bundle (e.g. ['ECN-041', 'ECN-042']) | |
| author | No | Author name | |
| body | No | ECO body content (markdown) | |
| create_pr | No | If True, create a pull request with the change | |
| branch | No | Target branch for the commit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||