Create Collection (lawmatics_create-collection)
Create a Collection in Lawmatics: a named container whose custom field definitions form the schema of its items. Provide the collection name and optionally the custom fields (list and multi_picklist types take selectable options).
Tool Input
namestringrequired— Name of the collection to create
customFieldsarray— Custom field definitions for the schema of this collection's items
[]object
namestringrequired— Display name of the custom field
fieldTypestringrequired— Type of the 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 created collection
namestringrequired— Name of the collection
customFieldsarrayrequired— Custom field definitions that make up the schema of this collection's items
[]object
idstringrequired— Server-assigned 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— Server-assigned 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