set_company_context
Full-replace the company profile (Company Context): fields you leave out are cleared, so read it first with get_company_context. Use it only when the user asks to set or update their company or client profile; do not use it for one-off facts (create_memory). Blank values are omitted. Without workspace_id this sets the account-level profile (your personal default); an empty object clears it. With workspace_id it targets that workspace's client context: a linked company is full-replaced (every linked workspace updates at once); an unlinked workspace gets a NEW company created from the payload and linked atomically (one client-context slot, plan limit enforced); an empty object unlinks it (turns in it then use no company profile, the company item is kept). Requires company_context:write. It does not switch the profile on or off for answers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Free-form must-know (max 2000 chars) | |
| scale | No | Size, for example headcount or revenue band | |
| sector | No | Industry sector, for example fintech or healthcare | |
| data_types | No | Kinds of data processed, for example customer personal data or health data | |
| hq_country | No | Headquarters country | |
| tech_stack | No | Main platforms and cloud providers | |
| company_name | No | Company legal or trading name | |
| privacy_role | No | controller | processor | both | |
| workspace_id | No | Optional workspace id (a UUID from list_workspaces) you own: set its client profile instead of the account default. | |
| hosting_region | No | Where systems and data are hosted, for example EU (Frankfurt) |