Archive Organization
archive_organizationHide an organization from default lists and counts without deleting its data, or restore it when needed.
Instructions
Archive an organization: hide it from the default lists and counts, reversibly. Or restore one.
Call it when the user is done with a company but may want it back: a lost account, a
company that no longer fits. Nothing is deleted: the organization, its contacts, deals
and history stay as they are, get_organization still reads it, and
list_organizations(include_archived=true) lists it. Its contacts are not archived
with it. archived=false restores one. To remove a company for good, only when the
user asks, use delete_organization; to join two records of one company,
merge_organizations.
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": {
"organization_id": "<organization_id>"
},
"name": "archive_organization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archived | No | true archives the organization (default); false restores it. A repeat changes nothing. | |
| organization_id | Yes | The organization to archive or restore. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||