Get time rules
get_time_rulesReads the rules that close logged hours. Without boardId: the rules the user has set for the projects they own: lockedUntil (the last closed day: nobody, the owner included, can add, edit, move or delete hours dated on or before it, and a timer cannot start while it reaches today) and editWindowDays (how many days back people other than the owner can fix their own hours; 0 = only today; null = no limit), with today in the user's time zone and whether the plan lets them set rules. With boardId: the rules that govern that project, from where the user stands (any member can read them): whether the user owns it, the earliest day the window lets them change, and whether a timer can start there today. Closed days refuse writes with the code closed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_time_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | No | A project the user belongs to. Omit it for the user's own rules. |