context.update
Set a single session field to update the current task, rename the session, or write a checkpoint with the next action for AI coding agents.
Instructions
Set one session field. task_title and task_status change the current task (errors when there is none); session_title renames the session; next_action writes a new checkpoint carrying that next action. Returns the affected task, session or checkpoint. To change a task by ID use task.update; to set next_action together with an event or decision use session.record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | task_title|task_status|next_action|session_title | |
| value | Yes | New value; for task_status one of in_progress, completed, blocked, cancelled |