Skip to content

@maxhealth.tech/prefab / actions / UpdateContext

Class: UpdateContext

Defined in: actions/mcp.ts:50

Base interface all actions implement

Implements

Constructors

Constructor

ts
new UpdateContext(context): UpdateContext;

Defined in: actions/mcp.ts:51

Parameters

ParameterType
contextRecord<string, unknown>

Returns

UpdateContext

Properties

context

ts
readonly context: Record<string, unknown>;

Defined in: actions/mcp.ts:51

Methods

toJSON()

ts
toJSON(): ActionJSON;

Defined in: actions/mcp.ts:53

Returns

ActionJSON

Implementation of

Action.toJSON

Released under the MIT License.