get_custom_fields
Retrieve the custom field structure for a Kommo account, including field IDs and names, to identify the correct field for leads, contacts, or companies before populating data.
Instructions
Busca a estrutura de campos customizados da conta (ex: descobrir o ID do campo 'CPF' ou 'Origem' para preencher um Lead/Contato).
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": {
"client_slug": "<client_slug>"
},
"name": "get_custom_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_slug | Yes | Identificador do cliente (slug) | |
| entity_type | No | Tipo de entidade para listar os campos | leads |