add_locked_date
Add a locked date period for an organisation, department, or user to block absences or modifications during the specified dates.
Instructions
Add a locked date period.
Args:
from_date: Start of the locked period (ISO 8601 date-time).
to_date: End of the locked period (ISO 8601 date-time).
reason: Reason for the lock (1–2000 chars).
record_type: Scope of the lock: Organisation, Department or
User. Higher-level locks supersede lower-level ones.
record_id: The organisation, department or user ID the lock targets.
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": {
"from_date": "<from_date>",
"to_date": "<to_date>",
"reason": "<reason>",
"record_type": "<record_type>",
"record_id": "<record_id>"
},
"name": "add_locked_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| to_date | Yes | ||
| from_date | Yes | ||
| record_id | Yes | ||
| record_type | Yes |