Preparing search index...
The search index is not available
contentful-management.js - v11.67.0
contentful-management.js
Agent
Interface Agent
interface
Agent
{
description
:
string
;
modelId
?:
string
;
name
:
string
;
provider
?:
string
;
sys
:
MetaSysProps
&
{
createdAt
:
string
;
environment
:
{
sys
:
{
id
:
string
;
}
;
}
;
id
:
string
;
space
:
{
sys
:
{
id
:
string
;
}
;
}
;
type
:
"Agent"
;
}
;
tools
?:
AgentToolLink
[]
;
generate
(
payload
:
AgentGeneratePayload
)
:
Promise
<
AgentRun
>
;
toPlainObject
(
)
:
AgentProps
;
}
Hierarchy (
view full
)
AgentProps
DefaultElements
<
AgentProps
>
Agent
Index
Properties
description
model
Id?
name
provider?
sys
tools?
Methods
generate
to
Plain
Object
Properties
description
description
:
string
Optional
model
Id
model
Id
?:
string
name
name
:
string
Optional
provider
provider
?:
string
sys
sys
:
MetaSysProps
&
{
createdAt
:
string
;
environment
:
{
sys
:
{
id
:
string
;
}
;
}
;
id
:
string
;
space
:
{
sys
:
{
id
:
string
;
}
;
}
;
type
:
"Agent"
;
}
Optional
tools
tools
?:
AgentToolLink
[]
Methods
generate
generate
(
payload
)
:
Promise
<
AgentRun
>
Parameters
payload
:
AgentGeneratePayload
Returns
Promise
<
AgentRun
>
to
Plain
Object
to
Plain
Object
(
)
:
AgentProps
Returns
AgentProps
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
description
model
Id
name
provider
sys
tools
Methods
generate
to
Plain
Object
contentful-management.js - v11.67.0
Loading...