beel_get_custom_field
Retrieve a company's custom field, including applicable common and customer-specific options, and control whether archived options are returned.
Instructions
Returns one custom field of this company, archived or not, with the options that apply to the query: the common ones plus, with customer_id, those of that customer. Archived options are left out unless include_archived=true. A field with suggest_values: false carries no options; list them with GET /v1/companies/{company_id}/custom-fields/{key}/options.
BeeL API endpoint: GET /v1/companies/{company_id}/custom-fields/{key} (reference: https://docs.beel.es)
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": {
"company_id": "<company_id>",
"key": "<key>"
},
"name": "beel_get_custom_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key of the custom field: lowercase letters, digits and `_`, up to 64 characters. A key outside that format answers `422`. | |
| company_id | Yes | Unique identifier (UUID) of the company the operation acts on — its identifier, not its NIF. It is the only source of context: the account that owns it is derived from it, and the `BeeL-Active-Company` header plays no part. A company you do not reach answers `403`, and so does a company that does not exist, so the existence of a company in another account is never disclosed. | |
| customer_id | No | Adds the options of this customer to the common ones. A value that names no customer of this company is not an error: only the common options come back. | |
| include_archived | No | Include archived options. |