> ## Documentation Index
> Fetch the complete documentation index at: https://docs.clawdot.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# update_task

> 改 task 的 context

改 task 的 context。改一个 task 的 context（如记忆开关），只影响之后的调用：不调上游、不改各组已选的结果。

## 工具说明（与线上 tools/list 同源）

```text theme={null}
改一个 task 的 context（如记忆开关），只影响之后的调用：不调上游、不改各组已选的结果。回的是改完之后的 get_task。
```

## 参数

| 字段 | 类型 | 必填 | 说明 |
| - | - | - | - |
| `task_id` | string | 是 | create\_task 返回的 task\_id |
| `context` | object | 是 | utterance（必填）：用户这一轮的原话。memory（选填）：这次别按平时的偏好来 \{"memory": \{"use": false}}；替家人点 \{"memory": \{"for": "\<称呼>"}} |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.