NAME
hello - print a greeting
SYNOPSIS
hello
[--lang]=[value]
[--loud]
DESCRIPTION
Prints a greeting to the configured name. The MCP tool name is
hello. Input schema has three fields: loud (bool), lang
(string, default "en"), args (string array, the positional name).
Examples:
# CLI form
demo hello world
# hello, world
demo hello --loud --lang=es world
# HOLA, WORLD!
# MCP form (via mcporter)
mcporter call demo.hello --args '{"args":["world"],"lang":"es","loud":true}'
# HOLA, WORLD!
# missing positional: defaults to "world"
demo hello
# hello, world
The action writes to c.Writer, which the MCP runtime captures and returns as the tool result's text content. An agent reads the result, not the child's stdout (stdio is busy with JSON-RPC).
Usage:
hello [GLOBAL OPTIONS] [command [COMMAND OPTIONS]] [ARGUMENTS...]
GLOBAL OPTIONS
--lang="": language: en or es (default: "en")
--loud: shout the greeting