Preparing search index...
The search index is not available
Genkit JS API reference
Genkit JS API reference
genkit
/
ActionMetadata
Interface ActionMetadata<I, O, S>
Action metadata.
interface
ActionMetadata
<
I
extends
ZodTypeAny
,
O
extends
ZodTypeAny
,
S
extends
ZodTypeAny
,
>
{
actionType
?:
ActionType
;
description
?:
string
;
inputJsonSchema
?:
JSONSchema7
;
inputSchema
?:
I
;
metadata
?:
Record
<
string
,
any
>
;
name
:
string
;
outputJsonSchema
?:
JSONSchema7
;
outputSchema
?:
O
;
streamSchema
?:
S
;
}
Type Parameters
I
extends
ZodTypeAny
O
extends
ZodTypeAny
S
extends
ZodTypeAny
Index
Properties
action
Type?
description?
input
Json
Schema?
input
Schema?
metadata?
name
output
Json
Schema?
output
Schema?
stream
Schema?
Properties
Optional
action
Type
actionType
?:
ActionType
Optional
description
description
?:
string
Optional
input
Json
Schema
inputJsonSchema
?:
JSONSchema7
Optional
input
Schema
inputSchema
?:
I
Optional
metadata
metadata
?:
Record
<
string
,
any
>
name
name
:
string
Optional
output
Json
Schema
outputJsonSchema
?:
JSONSchema7
Optional
output
Schema
outputSchema
?:
O
Optional
stream
Schema
streamSchema
?:
S
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
action
Type
description
input
Json
Schema
input
Schema
metadata
name
output
Json
Schema
output
Schema
stream
Schema
Genkit JS API reference
Loading...
Action metadata.