# Sleep Action
# Pauses execution for a specified duration

ref: core.sleep
label: "Sleep"
description: "Sleep for a specified number of seconds"
enabled: true

# Runner type determines how the action is executed
runner_type: shell

# Entry point is the shell command or script to execute
entry_point: sleep.sh

# Parameter delivery: stdin for secure parameter passing (no env vars)
parameter_delivery: stdin
parameter_format: dotenv

# Output format: text (no structured data parsing)
output_format: text

# Action parameters (StackStorm-style with inline required/secret)
parameters:
  seconds:
    type: integer
    description: "Number of seconds to sleep"
    required: true
    default: 1
    minimum: 0
    maximum: 3600
  message:
    type: string
    description: "Optional message to display before sleeping"

# Output schema: not applicable for text output format
# The action outputs plain text to stdout

# Tags for categorization
tags:
  - utility
  - testing
  - delay
  - timing
