set_goal
Create, update, decompose, inspect, or abandon hierarchical goals and task DAGs to formulate multi-step objectives, track sub-goal progress, and list goals.
Instructions
Register, update, decompose, inspect, or abandon hierarchical goals and task DAGs (actions: create, update, decompose, get, list, abandon). Use set_goal instead of manage_intentions when formulating multi-step objectives and sub-goal DAGs rather than queueing concrete execution directives.
Returns goal record, sub-goal hierarchy, completion progress, or goal lists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Goal ID (required for update, get, abandon) | |
| limit | No | Max items to return for list action | |
| title | No | Goal title or objective summary | |
| action | Yes | The goal management operation to perform: create, update, decompose, get, list, abandon | |
| status | No | Goal status | |
| project | No | Target project slug | |
| priority | No | Goal priority (0.0 to 1.0) | |
| progress | No | Completion progress (0.0 to 1.0) | |
| subgoals | No | Array of sub-goals for decompose action | |
| parent_id | No | Parent goal ID for hierarchical sub-goals | |
| deadline_at | No | ISO-8601 deadline timestamp | |
| description | No | Detailed goal description | |
| utility_weights | No | Goal-specific utility weight overrides | |
| success_criteria | No | List of verifiable conditions | |
| client_request_id | No | Idempotency key to prevent duplicate creation |