Update Collection (lawmatics_update-collection)
Update an existing Collection in Lawmatics by ID: rename the collection, modify existing custom fields by id, or add new custom field definitions. Fields not referenced in the request are left unchanged.
Tool Input
collectionIdstringrequired— ID of the collection to update; a numeric string(pattern: ^\d+$)
namestring— New name for the collection
customFieldsarray— Custom field entries to modify (with id) or add (without id); fields not referenced are left unchanged
[]object
idstring— ID of an existing custom field to modify; omit to add a new field to the collection(pattern: ^\d+$)
namestring— Display name of the custom field
fieldTypestring— Type of the field; required when adding a new field(enum: "integer", "boolean", "string", "text", "currency", "date", "time", "datetime", "list", "multi_picklist")
listOptionsarray— Selectable options; only for list and multi_picklist field types
1 field
[]object
1 field
namestringrequired— Display name of the selectable option
Tool Output
idstringrequired— Unique ID of the collection
namestringrequired— Name of the collection
customFieldsarrayrequired— Custom field definitions that make up the schema of this collection's items
[]object
idstringrequired— Unique ID of the custom field definition
namestringrequired— Display name of the custom field
fieldTypestringrequired— Type of the field (e.g. text, currency, list, multi_picklist, string, date)
visibilitystringrequired— Visibility setting of the field as reported by Lawmatics (e.g. "default")
listOptionsarray— Selectable options; present only for list and multi_picklist field types
1 field
[]object
2 fields
idstringrequired— Unique ID of the list option
namestringrequired— Display name of the selectable option
createdAtstringrequired— When the custom field was created, as an ISO 8601 timestamp
updatedAtstringrequired— When the custom field was last updated, as an ISO 8601 timestamp
createdAtstringrequired— When the collection was created, as an ISO 8601 timestamp
updatedAtstringrequired— When the collection was last updated, as an ISO 8601 timestamp
Related Tools