WorkerCreationNoScheduleArgs

  • name
    Type: string
    min length:  
    1
    max length:  
    255
    required
  • prompt
    Type: string
    min length:  
    1
    required

    The prompt that the worker will use when it runs.

  • accessResourceIds
    Type: array string[] | null · UUID[]

    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.

    • Type: string · UUID Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
  • active
    Type: booleanenum
    const:  
    false
    values
    • false
  • day
    nullable
  • focusResourceIds
    Type: array string[] | null · UUID[]

    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.

    • Type: string · UUID Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
  • frequency
    nullable
  • hour
    nullable
  • timezone
    Type: string | null
    max length:  
    255

    The timezone that the worker should use for scheduling in IANA format (e.g. "America/Toronto").

  • toolPermissions

    Optional permissions for tools that the worker can use when running. Providing this will restrict the worker's tool usage to only the specified permissions.

    • native
      Type: object