create_repository_decision_plan
Create one stored, immutable repository DecisionPlan revision from a triage workspace evidence bundle and return its decision_plan_id plus the validated patch diff inline. snapshot_id is resolved from the bundle when omitted. This is the only LLM-touching stage of the repository chain; model optionally picks the planner model. The decision_plan_id feeds simulate_repository and apply_repository. Persists the plan revision. Use run_repository_pipeline to chain snapshot, triage, plan, and simulate in one call instead.
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": {
"repository_id": "<repository_id>",
"workspace_evidence_bundle_ref": "<workspace_evidence_bundle_ref>"
},
"name": "create_repository_decision_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional planner model override. | |
| snapshot_id | No | Snapshot id; resolved from the evidence bundle when omitted. | |
| repository_id | Yes | Saved repository connector id from list_connectors. | |
| workspace_evidence_bundle_ref | Yes | Bundle ref returned by triage_repository. |