# orchestration.getTurnItem

> T3 Code · channel `nightly` · v0.1.15-nightly.20261205.5786 @ [`be521199aace`](https://github.com/pingdotgg/t3code/tree/be521199aace1a0b446f4db4a1181ef994aaa1e2) · 2026-12-05 · generated by Everdoc from source (no LLM).

3 steps across 3 workspaces

- Trigger: rpc `orchestration.getTurnItem` ([`orchestration.getTurnItem`](../reference/rpc/orchestration.md#rpc-orchestration-getturnitem))
- Completeness: partial (at least one hop is dynamic and could not be resolved statically)
- Tags: key

## Steps

1. **@t3tools/client-runtime → orchestration.getTurnItem**: src/state → src via rpc ([`orchestration.getTurnItem`](../reference/rpc/orchestration.md#rpc-orchestration-getturnitem)) · async
   Source: [packages/client-runtime/src/state/orchestration.ts:61](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/client-runtime/src/state/orchestration.ts#L61)
2. **calls ThreadManagementService**: src → src/orchestration-v2 via calls
   Source: [apps/server/src/ws.ts:2235](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/ws.ts#L2235)
   Folded: [apps/server/src/orchestration-v2/Orchestrator.ts:18733](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/Orchestrator.ts#L18733-L18741), [apps/server/src/orchestration-v2/WireProjection.ts:34](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L34-L53), [apps/server/src/orchestration-v2/WireProjection.ts:34](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L34-L53), [apps/server/src/orchestration-v2/WireProjection.ts:34](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L34-L53), [apps/server/src/orchestration-v2/WireProjection.ts:34](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L34-L53), [apps/server/src/orchestration-v2/WireProjection.ts:34](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L34-L53), [apps/server/src/orchestration-v2/WireProjection.ts:218](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L218-L230), [apps/server/src/orchestration-v2/WireProjection.ts:233](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L233-L244), [apps/server/src/orchestration-v2/WireProjection.ts:246](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L246-L259), [apps/server/src/orchestration-v2/WireProjection.ts:261](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L261-L305)
3. **calls readMcpAppReference**: src/orchestration-v2 → src via calls · unresolved
   Source: [apps/server/src/orchestration-v2/WireProjection.ts:251](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L251)
   Folded: [apps/server/src/orchestration-v2/WireProjection.ts:34](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L34-L53), [apps/server/src/orchestration-v2/WireProjection.ts:34](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L34-L53), [apps/server/src/orchestration-v2/WireProjection.ts:34](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L34-L53), [apps/server/src/orchestration-v2/WireProjection.ts:34](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L34-L53), [apps/server/src/orchestration-v2/WireProjection.ts:34](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L34-L53), [apps/server/src/orchestration-v2/WireProjection.ts:34](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L34-L53), [apps/server/src/orchestration-v2/WireProjection.ts:34](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L34-L53), [apps/server/src/orchestration-v2/WireProjection.ts:34](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L34-L53), [apps/server/src/orchestration-v2/WireProjection.ts:34](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L34-L53), [apps/server/src/orchestration-v2/WireProjection.ts:34](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L34-L53), [apps/server/src/orchestration-v2/WireProjection.ts:34](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L34-L53), [apps/server/src/orchestration-v2/WireProjection.ts:70](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L70-L108), [apps/server/src/orchestration-v2/WireProjection.ts:115](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L115-L134), [apps/server/src/orchestration-v2/WireProjection.ts:159](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L159-L209), [apps/server/src/orchestration-v2/WireProjection.ts:159](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L159-L209), [apps/server/src/orchestration-v2/WireProjection.ts:211](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L211-L216), [apps/server/src/orchestration-v2/WireProjection.ts:218](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L218-L230), [apps/server/src/orchestration-v2/WireProjection.ts:233](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L233-L244), [apps/server/src/orchestration-v2/WireProjection.ts:233](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/orchestration-v2/WireProjection.ts#L233-L244)
