Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

subagentInputOf.md

23 lines370 Bytes

1---
2id: subagentInputOf
3title: subagentInputOf
4---
5​
6```ts
7function subagentInputOf(metadata): unknown;
8```
9​
10Defined in: packages/ai/src/utilities/subagent-wire.ts:44
11​
12The checked input of a child that an agent with `inputSchema` got, read
13from the `metadata` of its card or of its `SUBAGENT_STARTED` event.
14​
15## Parameters
16​
17### metadata
18​
19`unknown`
20​
21## Returns
22​
23`unknown`