Update goal
update_goalEdit an existing goal's definition or progress. Only the fields you pass change; fields you pass replace the stored value entirely (lists are not merged). At least one field is required.
To change the plan's steps, resubmit the plan with submit_goal_plan
instead.
Args:
goal_id: UUID of the goal.
progress: New progress value in [0.0, 1.0].
description: New description.
priority: New priority on a 1-10 scale; stored as priority_weight
0.0-1.0 (priority=8 is returned as priority_weight 0.8).
name: New name.
success_conditions: Replaces the goal's done-criteria
(target_state.conditions), which is what new plans are generated
against. Example: {"test_coverage": ">=0.9",
"description": "concrete, verifiable criterion"}.
success_metric: How success is measured and evaluated. Set a numeric
target and operator to use report_goal_measurement. Example:
{"metric": "test_coverage", "target": 0.9, "operator": ">="}.
constraints: List of constraints. Stored for reference only; NEXUS
does not enforce them.
linked_entities: List of entity UUIDs linked to the goal.
time_horizon: Free-text time horizon, e.g. 'Q4 2026' or '2 weeks'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| goal_id | Yes | ||
| priority | No | ||
| progress | No | ||
| constraints | No | ||
| description | No | ||
| time_horizon | No | ||
| success_metric | No | ||
| linked_entities | No | ||
| success_conditions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| status | No | ||
| progress | No | ||
| goal_type | No | ||
| created_at | No | ||
| updated_at | No | ||
| description | No | ||
| parent_goal_id | No | ||
| priority_weight | No |