Files
python_example/actions/hello.yaml
2026-02-27 12:18:26 -06:00

44 lines
993 B
YAML

# Hello Action
# Simple Python action that returns "Hello, Python"
ref: python_example.hello
label: "Hello Python"
description: "A simple Python action that returns a greeting message"
enabled: true
# Runner type determines how the action is executed
runner_type: python
# Minimum Python version required (semver constraint)
runtime_version: ">=3.9"
# Entry point is the Python script to execute
entry_point: hello.py
# Parameter delivery: stdin for secure parameter passing
parameter_delivery: stdin
parameter_format: json
# Output format: json (structured data parsing enabled)
output_format: json
# Action parameters schema (flat format with inline required/secret)
parameters:
name:
type: string
description: "Optional name to include in greeting"
default: "Python"
# Output schema (flat format)
output_schema:
message:
type: string
description: "The greeting message"
required: true
# Tags for categorization
tags:
- python
- example
- greeting