Skip to main content

1E 8.1 (on-premises)

Agent.Echo

Method

Echo

Module

Agent

Library

Core

Action

Return the specified text.

Parameters

Message (string): Basis of the text to bounce back.

ReplySize (int; optional, default 1): Repeat the output text as many times as necessary to make the output this number of characters.

Rows (int; optional, default 1): Rather than just a single row of output, generate this many.

Return values

Message (string): The input Message text with "from hostname" appended, where of course hostname is the hostname.

Example

 Agent.Echo(Message:"The quick brown fox jumps over the lazy dog", ReplySize: 60000);
 Agent.Echo(Message:"The quick brown fox jumps over the lazy dog", Rows: 4000);

Platforms

  • Windows

  • Linux

  • MacOS

Notes

Useful for quick testing of responses from all agents.