Files
attune/packs/core/actions/sleep.yaml

47 lines
1.0 KiB
YAML

# 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 schema (standard JSON Schema format)
parameters:
type: object
properties:
seconds:
type: integer
description: "Number of seconds to sleep"
default: 1
minimum: 0
maximum: 3600
message:
type: string
description: "Optional message to display before sleeping"
required:
- seconds
# Output schema: not applicable for text output format
# The action outputs plain text to stdout
# Tags for categorization
tags:
- utility
- testing
- delay
- timing