FoyerDevelopers

Generated · Live registry

fritzboxCalls tools

2 tools in this domain, generated from the running registry.

All tool domains

fritzboxCalls.listContacts

read-only

List contacts for the current tenant (repointed to contacts + contact_phones). Reads: contacts rows, augmented with a primary phone via contact_phones LEFT JOIN. Returns { contacts: Contact[] } — same shape as before (id, phoneNumber, displayName, category, updatedAt) so the /calls UI is unchanged. Read-only query.

Input parameters

Returns object.

Output fields

FieldTypeRequiredNotes
contactsarray of objectyes
contacts.idstringyes
contacts.phoneNumberstring · nullableyes
contacts.displayNamestringyes
contacts.categorystringyes
contacts.updatedAtstringyes

fritzboxCalls.upsertContact

writes

Upsert a contact for the current tenant (the "+Kontakt" button on /calls). Writes to contacts + contact_phones (new tables). Returns { contact: Contact } — same shape as before. Mutation — changes data.

Input parameters

FieldTypeRequiredNotes
phoneNumberstringyes
displayNamestringyes
categorystringnoDefault: "sonstig"

Output fields

FieldTypeRequiredNotes
contactobjectyes
contact.idstringyes
contact.phoneNumberstring · nullableyes
contact.displayNamestringyes
contact.categorystringyes
contact.updatedAtstringyes