Open History to see the last commit
1---
2id: SubagentWireInfo
3title: SubagentWireInfo
4---
5
6Defined in: [packages/ai/src/utilities/subagent-wire.ts:8](https://github.com/TanStack/ai/blob/main/packages/ai/src/utilities/subagent-wire.ts#L8)
7
8Card data that travels on each child wire message, in
9`metadata.tanstack.subagent`. The messages carry the AG-UI `subagentRunId`.
10
11## Extends
12
13- `SubagentInfo`.`Pick`\<[`SubagentHandleData`](SubagentHandleData.md),
14 \| `"status"`
15 \| `"error"`
16 \| `"interruptIds"`
17 \| `"parentSubagentRunId"`
18 \| `"parentToolCallId"`
19 \| `"metadata"`\>
20
21## Properties
22
23### error?
24
25```ts
26optional error?: Pick<SubagentErrorEvent, "message" | "code">;
27```
28
29Defined in: [packages/ai/src/types.ts:649](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L649)
30
31#### Inherited from
32
33```ts
34Pick.error
35```
36
37***
38
39### interruptIds?
40
41```ts
42optional interruptIds?: string[];
43```
44
45Defined in: [packages/ai/src/types.ts:647](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L647)
46
47Interrupts this child raised, while `status` is `'suspended'`.
48
49#### Inherited from
50
51```ts
52Pick.interruptIds
53```
54
55***
56
57### placeholder?
58
59```ts
60optional placeholder?: true;
61```
62
63Defined in: [packages/ai/src/utilities/subagent-wire.ts:21](https://github.com/TanStack/ai/blob/main/packages/ai/src/utilities/subagent-wire.ts#L21)
64
65The child has no messages yet. This wire message only holds the card.
66
67***
68
69### status
70
71```ts
72status: SubagentStatus;
73```
74
75Defined in: [packages/ai/src/types.ts:643](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L643)
76
77#### Inherited from
78
79[`SubagentHandleData`](SubagentHandleData.md).[`status`](SubagentHandleData.md#status)