Update workspace context
workspace__update_contextDestructive
Save what you learned so the editor and other agents use it. Ops apply in order; if one is invalid, none is applied. To ADD a fact to the brand notes use {"append_brand_knowledge": "..."}: it keeps everything already there. {"brand_knowledge": "..."} REPLACES the whole notes ("" clears them): use it only to rewrite or shorten, after reading them with workspace__get_context. The notes hold at most 4000 characters. {"append_research_log": ": . Verdict: "} records research you did (max 500 chars). Confirm facts with the user before storing them. Returns the updated context.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes | ||
| workspace_id | Yes | From workspace__list. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| voices | No | ||
| missing | Yes | ||
| brand_name | No | ||
| competitors | No | Domains competing in search: domain, appearances, avg_position. | |
| research_log | Yes | The newest 20 entries of the last 90 days, newest first: id, summary, author, created_at, age_days. | |
| workspace_id | Yes | ||
| brand_knowledge | Yes |