@deskcreate/agentcraft
Preparing search index...
index
AgentStepConfig
Interface AgentStepConfig
Configuration for AgentStep.
interface
AgentStepConfig
{
agent
?:
Agent
;
id
?:
string
;
onError
?:
"skip"
|
"fail"
;
prompt
:
string
|
(
(
ctx
:
WorkflowContext
)
=>
string
|
Promise
<
string
>
)
;
responseSchema
?:
StructuredOutputSchema
;
retry
?:
RetryStepConfig
;
toolPolicy
?:
ToolPolicy
;
}
Index
Properties
agent?
id?
on
Error?
prompt
response
Schema?
retry?
tool
Policy?
Properties
Optional
Readonly
agent
agent
?:
Agent
Optional
Readonly
id
id
?:
string
Optional
Readonly
on
Error
onError
?:
"skip"
|
"fail"
Readonly
prompt
prompt
:
string
|
(
(
ctx
:
WorkflowContext
)
=>
string
|
Promise
<
string
>
)
Optional
Readonly
response
Schema
responseSchema
?:
StructuredOutputSchema
Optional
Readonly
retry
retry
?:
RetryStepConfig
Optional
Readonly
tool
Policy
toolPolicy
?:
ToolPolicy
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
agent
id
on
Error
prompt
response
Schema
retry
tool
Policy
@deskcreate/agentcraft
Loading...
Configuration for AgentStep.