add_user
Add a new user to Timetastic by providing their name, department, annual leave allowance, and optional start date and email to send welcome instructions.
Instructions
Add a new user to Timetastic.
Args:
first_name: The user's first name.
last_name: The user's last name.
department_id: The department to place the user in.
allowance: Annual leave allowance in days (0–366).
email_address: The user's email address.
start_date: Start date, ISO 8601 (e.g. 2022-02-04T00:00:00).
leave_year_start: Month the leave year starts (1=Jan … 12=Dec).
send_welcome_email: Email the user to set a password and get started.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"first_name": "<first_name>",
"last_name": "<last_name>",
"department_id": "<department_id>",
"allowance": "<allowance>"
},
"name": "add_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| allowance | Yes | ||
| last_name | Yes | ||
| first_name | Yes | ||
| start_date | No | ||
| department_id | Yes | ||
| email_address | No | ||
| leave_year_start | No | ||
| send_welcome_email | No |