create_contact
Create a contact or company record in Planfix by providing details like name, email, phone numbers, address, and custom fields.
Instructions
Создать контакт или компанию
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": "create_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Contact/company number. For create requests this field is usually omitted. | |
| name | No | First name of a contact or name of a company. | |
| site | No | Website URL of the contact/company. | |
| No | Primary email address of the contact or company. | ||
| files | No | Existing Planfix files attached to the contact/company. Each item must contain an existing file id. | |
| group | No | Contact group. Specify an existing group by id. | |
| skype | No | Skype username. | |
| gender | No | Contact gender. Use Female, Male, or NotDefined. | |
| phones | No | Contact phone numbers. Each phone contains a number and phone type. | |
| address | No | Postal address of the contact/company. | |
| midname | No | Middle name of the contact. | |
| viberId | No | Viber identifier associated with the contact/company. | |
| contacts | No | Contacts linked to this company. Specify existing contact/company numbers. | |
| No | Facebook profile/page link. | ||
| lastname | No | Last name of the contact. | |
| position | No | Job title or position of the contact. | |
| telegram | No | Telegram username or profile link. | |
| template | No | Contact/company template. Specify an existing contact template by number. | |
| timezone | No | IANA Time Zone Database identifier (TZID). | |
| birthDate | No | Contact birth date. May be provided as a TimePoint-like object with date or as a supported date string. | |
| companies | No | Companies linked to this contact. Specify existing contact/company numbers. | |
| No | Instagram profile link. | ||
| isCompany | No | Whether the record is a company rather than an individual contact. | |
| isDeleted | No | Whether the contact/company is deleted. | |
| telegramId | No | Telegram identifier associated with the contact/company. | |
| description | No | Description or notes for the contact/company. | |
| supervisors | No | Contact supervisors. Specify employees or contacts in users and groups in groups. Employee/contact identifiers must be prefixed, for example user:5 or contact:92. | |
| languageCode | No | Planfix interface language code for the contact/company. | |
| sourceObjectId | No | Unique identifier of the specific object in the third-party application or system. | |
| customFieldData | No | Custom field values for the contact/company. Each item contains a custom field id in field.id and its value. | |
| sourceDataVersion | No | Version of the object data in the third-party application or system. | |
| communicationLanguageCode | No | Preferred communication language code. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| result | Yes |