dealdesk.create_company
Creates a company in the DealDesk customer directory using a legal name or name alias. Optionally set an external ID, tax ID, email domains, and project, or let the external ID auto-generate.
Instructions
Create a company in the customer directory. Send legalName or name at the top level (name maps to legalName). externalId is optional and auto-generated as local-company- when omitted — do not require fields.externalId.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dealdesk.create_company"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Alias for legalName when legalName is omitted (mapped server-side) | |
| taxId | No | ||
| fields | No | Optional extras (customFields, addresses, …). Prefer top-level legalName/name; fields.legalName/fields.name are also accepted. | |
| locale | No | ||
| legalName | No | Legal company name (required unless name is provided) | |
| projectId | No | DealDesk project id. Omit when the OAuth token or API key authorizes exactly one project. Required when Connect authorized several projects. | |
| externalId | No | Immutable business key. Omit to auto-generate local-company-<uuid> (UI default). Not required. | |
| displayName | No | Display name (defaults to legalName) | |
| emailDomains | No | ||
| registrationId | No |