# readCapabilitySnapshot
Source: https://docs.maelstrom-ai.co/dev/reference/protocol/functions/readcapabilitysnapshot/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

> **readCapabilitySnapshot**(`vessels`): [`CapabilitySnapshotProjection`](https://docs.maelstrom-ai.co/dev/reference/protocol/interfaces/capabilitysnapshotprojection/)

Defined in: [packages/protocol/src/lib/read-capability-snapshot.ts:203](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/read-capability-snapshot.ts#L203)

Pure projection from the registered vessels to a conversational capability catalog, alongside the record of every declared enum value the projection could not carry into it.

Nothing is logged here — the omissions are returned so the projection stays pure and callers choose how to surface them. For example, `Orchestrator.getCapabilitySnapshot()` unwraps the snapshot and reports the omissions through the orchestrator’s logger.

## Parameters

### vessels

readonly `object`\[\]

## Returns

[`CapabilitySnapshotProjection`](https://docs.maelstrom-ai.co/dev/reference/protocol/interfaces/capabilitysnapshotprojection/)

## Example

```ts
const { snapshot, optionOmissions } = readCapabilitySnapshot(vessels);
if (optionOmissions.length > 0) {
  console.warn('some declared option values never reached the model', optionOmissions);
}
```
