Skip to content

@maxhealth.tech/prefab / actions / SendMessage

Class: SendMessage ​

Defined in: actions/mcp.ts:40

Base interface all actions implement

Implements ​

Constructors ​

Constructor ​

ts
new SendMessage(message): SendMessage;

Defined in: actions/mcp.ts:41

Parameters ​

ParameterType
messagestring

Returns ​

SendMessage

Properties ​

message ​

ts
readonly message: string;

Defined in: actions/mcp.ts:41

Methods ​

toJSON() ​

ts
toJSON(): ActionJSON;

Defined in: actions/mcp.ts:43

Returns ​

ActionJSON

Implementation of ​

Action.toJSON

Released under the MIT License.