Validate a plan, phase or amendment
plan_validateRecords the user's decision on a draft plan, a completed phase or a proposed amendment. Call it only after the user has explicitly agreed or refused in this conversation, and set confirmed_by_user to true; do not call it on your own initiative. The user can also decide in the Pryzm dashboard, and the history records which way each decision came from.
target: plan | phase | amendment; decision: accept | reject.
phase: the phase number, for target phase; amendment_id: for target amendment; comment: optional note from the user. Accepting a plan makes it active (version 1) and rejecting it abandons it. Accepting a phase opens the next one; rejecting it keeps it open for correction steps. Accepting an amendment creates the next version of the plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phase | No | ||
| target | Yes | ||
| comment | No | ||
| plan_id | Yes | ||
| decision | Yes | ||
| amendment_id | No | ||
| confirmed_by_user | Yes |