ping

Ping handler - tests basic connectivity.

Use with an AI agent

Export this page as Markdown or bundle it with a task for your agent.

Try a task
Preview the prompt that will be copied

Reference

Authentication: not required

Ping handler - tests basic connectivity.

This handler accepts an optional message parameter and returns a normalized response.
If no message is provided, it returns "pong". If a message is provided, it returns
the trimmed message.

Authentication: Not required

Parameters:
- message (string, optional): Message to echo back

Returns:
- reply (string): Normalized message or "pong" if empty

Example:
{
  "method": "ping",
  "params": {
    "message": "hello world"
  }
}