WorkerCreationArgs
- activeType: booleanrequired
Whether the worker is scheduled to run automatically.
- hourType: integerenumrequired
The hour of the day (0-23) when the worker should run.
values- 0
- 1
- 2
- 3
- 4
- nameType: stringmin length:1max length:255required
- promptType: stringmin length:1required
The prompt that the worker will use when it runs.
- accessType: array string[] | null · UUID[]
Resource Ids Optional list of resource IDs that the worker will have access to when running. Providing this will restrict the worker's access to only these resources and their descendants.
- day
- focusType: array string[] | null · UUID[]
Resource Ids Optional list of resource IDs that the worker should focus on when running. This only provides a hint and does not change the worker's permissions.
- frequencyenumconst:weeklyvalues
- weekly
- timezoneType: string | nullmax length:255
The timezone that the worker should use for scheduling in IANA format (e.g. "America/Toronto").
- tool
Permissions