log_step
Log each workflow step to the active context, requiring a self-heal strategy on failure and warning when context grows too large.
Instructions
Appends to the Active Context. Rejects if failed=true but no self_heal_strategy is provided. Warns if context is too large.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | A short description of what was just done | |
| failed | Yes | Set to true if this step encountered an error or failed to achieve its micro-goal. | |
| result | Yes | The output, success, or failure message of the action | |
| session_id | Yes | ||
| self_heal_strategy | No | MANDATORY if failed=true. How you plan to fix this failure or what alternative tool you will explore next. |