MCPMCP-Tools/Benutzerdefinierte Felder/update_custom_field
update_custom_field
Writecustom-fields:write
Edit an existing custom-field definition's label, required flag, select options, or display order. The field's type and key cannot be changed after creation — to change the type, archive this field with delete_custom_field and create a new one. Pass only the fields you want to change. Identify the field by its id (from list_custom_field_definitions). You don't pass an agency — it comes from your credentials.
Parameter
definitionIdstringerforderlich
The id of the custom-field definition to update (required).
labelstringoptional
New display label.
requiredbooleanoptional
Whether the field is required.
optionsstring[]optional
Replaces the selectable options (for single_select / multi_select fields).
ordernumberoptional
New display order (lower shows first).
Beispielanfrage
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_custom_field",
"arguments": {
"definitionId": "string"
}
}
}Beispielantwort
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.