aboutsummaryrefslogtreecommitdiff
path: root/tools/contacts.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2023-10-14 14:47:49 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2023-10-14 14:47:49 -0600
commit42e54a2cb29943b793bf9a47dd7e0121e1c0c87d (patch)
treed5570585dc0bfccdab3ec3f9aaa79a9e4290470e /tools/contacts.py
parent704b6407b4e51800376e73fe934a762e94b30d9d (diff)
Diffstat (limited to 'tools/contacts.py')
-rw-r--r--tools/contacts.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/contacts.py b/tools/contacts.py
index afdc8a4..a37455f 100644
--- a/tools/contacts.py
+++ b/tools/contacts.py
@@ -11,10 +11,15 @@ CONTACTS = [
"name": "Greg",
"phone" : os.getenv("TEST_PHONE_NUMBER"),
"email": "grsi2038@colorado.edu"
+ },
+ {
+ "name": "Hunter",
+ "phone": "+19178737978",
+ "email": "hunter.mcrobie@gmail.com"
}
]
@tool("get_all_contacts")
-def get_all_contacts(placeholder: str) -> List[dict]:
+def get_all_contacts(contact_name: str) -> List[dict]:
"""Returns all contacts in the user's phone book which includes email and phone numbers."""
return CONTACTS \ No newline at end of file