Skip to content

VesselCapabilityAction

Defined in: packages/protocol/dist/lib/read-capability-snapshot.d.ts:94

An action available on a vessel, deduplicated by name across all of its variants — the model needs to know what a vessel can do, not which variant happens to expose the action. Its parameters are unioned across those same variants, so an action never appears to take fewer arguments than it can.

readonly description: string

Defined in: packages/protocol/dist/lib/read-capability-snapshot.d.ts:96


readonly name: ActionName

Defined in: packages/protocol/dist/lib/read-capability-snapshot.d.ts:95


readonly optional parameters?: NonEmptyArray<VesselCapabilityParameter>

Defined in: packages/protocol/dist/lib/read-capability-snapshot.d.ts:103

Present only when the action declares at least one parameter across its variants. Absent — rather than empty — for an action that takes no arguments, since an empty list would read to the model as “accepts an empty argument list” and invite a call carrying one.