eco_approve
Approve an ECO and optionally batch-approve its ECNs. Provide project ID, ECO ID, and optional approved ECN IDs.
Instructions
Approve an ECO and optionally batch-approve its ECNs.
Sets the ECO status to AUTHORIZED. If approved_ecn_ids is provided, those ECNs are also moved to APPROVED status. If omitted, all ECNs under the ECO are approved.
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>"
},
"name": "eco_approve"
}
}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-001') | |
| approved_ecn_ids | No | Specific ECN IDs to approve (default: all ECNs in this ECO) | |
| note | No | Optional approval note or comment | |
| create_pr | No | If True, create a PR with the changes | |
| branch | No | Target branch for the commit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||