Rename or archive organizational context
dm.update_contextRename an item by id, set a Decision Thread description, or archive/reactivate it (status with confirm=true after the user agrees). Requires the delegated human's OAuth grant and a workspace role that permits the change. expected_name guards against overwriting a concurrent rename.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>",
"id": "<id>"
},
"name": "dm.update_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| kind | Yes | ||
| name | No | ||
| status | No | archived or active (reactivate). Requires confirm=true. | |
| confirm | No | Must be true to archive or reactivate. | |
| description | No | Decision thread only. | |
| expected_name | No | Optimistic check: fail with expected_name_mismatch unless the current name matches. |