beel_list_custom_field_options
Lists paginated custom field options, filtered by customer and optionally including archived values, to inspect available choices.
Instructions
Returns a paginated list of the options of this custom field, ordered by value.
Customer: without
customer_id, every option of the field, common and of every customer. With it, the common options and those of that customer.Archived: archived options are left out unless
include_archived=true.Suggestions off: the options of a field with
suggest_values: falseare listed too. They are not offered on invoices while the setting is off.
BeeL API endpoint: GET /v1/companies/{company_id}/custom-fields/{key}/options (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_list_custom_field_options"
}
}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`. | |
| page | No | Page number, starting at 1. The response echoes it back as `pagination.current_page`. | |
| limit | No | How many items to return per page. The response echoes it back as `pagination.items_per_page`. | |
| 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 | Limits the list to the common options and those of this customer. 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. |