mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-16 22:48:09 +01:00
Move HR-related tools to their own folder, add print statement for BookPTO functionality, and add SILLY_MODE
This commit is contained in:
11
tools/hr/book_pto.py
Normal file
11
tools/hr/book_pto.py
Normal file
@@ -0,0 +1,11 @@
|
||||
def book_pto(args: dict) -> dict:
|
||||
|
||||
email = args.get("email")
|
||||
start_date = args.get("start_date")
|
||||
end_date = args.get("end_date")
|
||||
|
||||
print(f"[BookPTO] Totally would send an email confirmation of PTO from {start_date} to {end_date} to {email} here!")
|
||||
|
||||
return {
|
||||
"status": "success"
|
||||
}
|
||||
Reference in New Issue
Block a user