ActionClient
type ActionClient<TAction> = TAction extends { input: infer TInput; output: infer TOutput;} ? (input, options?) => Promise<TOutput> : never;Defined in: client/src/types/types.ts:42
A callable action: send its input, receive its output. Derived from the
{ input, output } pair the schema records for each action. On an interrupt
it throws ToolInterrupt; call again with { resumption } to resume.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
TAction |