> ISPO SDK documentation. [HTML](https://ispo.ai/docs/interfaces/core.CommandResourceItem.html) · [Documentation index](https://ispo.ai/docs/llms.txt)

# Interface CommandResourceItem

Delivered through the binary worker transport, never command JSON or prompts. Each item is a single invocation's copy, not a reusable authority token.

```typescript
interface CommandResourceItem {
    bytes: Uint8Array;
    digest: string;
    mediaType:
        | "image/png"
        | "image/jpeg"
        | "image/webp"
        | "text/plain"
        | "application/json"
        | "audio/wav";
    name: string;
}
```

Types: [bytes](#bytes), [digest](#digest), [mediaType](#mediatype), [name](#name)

##### Index

### <a id="properties"></a>Properties

[bytes](#bytes) [digest](#digest) [mediaType](#mediatype) [name](#name)

## <a id="properties-1"></a>Properties

### <a id="bytes"></a>bytes

```typescript
bytes: Uint8Array
```

### <a id="digest"></a>digest

```typescript
digest: string
```

### <a id="mediatype"></a>mediaType

```typescript
mediaType:
    | "image/png"
    | "image/jpeg"
    | "image/webp"
    | "text/plain"
    | "application/json"
    | "audio/wav"
```

### <a id="name"></a>name

```typescript
name: string
```
