Set Task Lock
set_task_lockChange Task Lock on the user's iPhone/iPad: turn it on or off, set the time of day it starts locking, whether timed tasks only count once their time has come (onlyDueByNow), allow 15-minute breaks, or pick which saved app list it blocks. Only pass what changes. Task Lock blocks the apps in the active list until the tasks that count are done; which apps are in a list can only be chosen in Weeklane on the phone. Turning it off unblocks the apps right away, so only do that when the user asks. The phone applies the change as soon as it receives it. Can be reverted with undo_last_change.
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": "set_task_lock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listId | No | Id of a saved app list from get_task_lock (instead of the name). | |
| enabled | No | true = Task Lock on, false = off. | |
| listName | No | Name of a saved app list, e.g. "Social" (case-insensitive). | |
| breakEnabled | No | Allow the user to take 15-minute breaks from the lock. | |
| onlyDueByNow | No | true = a task with a time only counts once its time has come; false = all of today's tasks count. | |
| lockStartMinutes | No | Time of day the lock starts (device time): "HH:MM" (e.g. "09:00") or minutes after midnight (540). null = lock all day. |