Update Phone Number (lawmatics_update-phone-number)
Update an existing phone number in Lawmatics by ID. Optionally re-attach it to a different contact, matter, or company. Returns the updated record with a `relationships` envelope carrying an {id,type} pointer to the owning record (contact, company, or firm).
Tool Input
phoneNumberIdstringrequired— ID of the phone number to update; a numeric string(pattern: ^\d+$)
phoneNumberstring— The phone number string
phoneTypestring— Phone number label (e.g. Primary, Mobile, Work, Home)
matterIdstring— ID of the matter to re-attach this phone number to
contactIdstring— ID of the contact to re-attach this phone number to
companyIdstring— ID of the company to re-attach this phone number to
Tool Output
idstringrequired— Unique ID of the phone number record
phoneTypestringrequired— Phone number label (e.g. Primary, Mobile, Work, Home)
phoneNumberstringrequired— The phone number string, formatted as stored
relationshipsobjectrequired— JSON:API relationship pointers to related records as {id,type} stubs. Not materialized — follow a pointer by calling that resource's own get/find tool (e.g. type 'contact' -> get-contact, type 'company' -> get-company).
informationableobjectnullrequired— Owning record pointer (contact, company, or firm); null when unset
idstringrequired— ID of the referenced Lawmatics record
typestringrequired— JSON:API record class of the reference (e.g. "user", "contact", "prospect", "firm"); resolve it by calling that resource's own get/find tool — this pointer is not materialized
Related Tools