Skip to documentation
Docs navigation
Docs/getWorker()
Fleet Memory

getWorker()

Find a worker through the conductor.

What it does

Find a worker through the conductor.

The operation follows the fleet’s memory mode and agent identity rules when selecting, storing, or transferring memory.

Signature

TypeScript
getWorker(color: string): WorkerAgent | undefined

Parameters

color (string) — Required input for this operation.

Result

The requested identifier or text value.

Example

example.ts
const worker = conductor.getWorker("blue");