orgs_write
Create/update/delete organizations or assign/unassign an agent to an org. Actions: create, update, delete, assign_agent. For reads use orgs_write siblings orgs_read. Destructive: delete removes the org and associated clients.
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": {
"action": "<action>"
},
"name": "orgs_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | For action=update: org fields to change (from the main org schema; only what you send changes). | |
| name | No | For create: org display name (Clients page card). | |
| No | For create: org contact email. | ||
| orgId | No | Org id (orgs_read list / search). Required for update, delete and assign_agent. | |
| action | Yes | ||
| agentId | No | For assign_agent: the agent to give to (or take from) the org. | |
| assignAction | No | For assign_agent: assign gives the org access to the agent, unassign removes it. | |
| squarePhotoURL | No | For create: org logo URL (https), shown as a round avatar. |