Components
AgentUpdate
Example Usage
Fields
Field | Type | Required | Description | Example |
---|---|---|---|---|
name | string | TRUE | The agent name | |
description | string | FALSE | The agent description | |
label | string | FALSE | The agent label | |
type | string | TRUE | The agent type. Can be an arbitrary string | ca_v1 |
promptId | number | TRUE | ID of the prompt associated with the agent | |
customMessageId | number | TRUE | ID of the custom message that should be delivered at the beginning of a conversation with the agent | |
timezone | string | TRUE | The time zone in which the agent operates | America/New_York |
promptToolDefaults | components.AgentToolDefaults[] | FALSE | User-configured parameter values for the agent’s tools | |
languages | string[] | FALSE | BCP 47 codes of languages the agent supports | [ “en-US”, “es-US” ] |
variables | Record | TRUE | Custom context variables for the conversation session. Keys should be prefixed with “vars.”. | |
toolHeaders | Record | TRUE | Optional headers to include in tool calls for agent. | |
agentInitiated | boolean | FALSE | Whether the agent initiates conversation with a user after the custom_message is delivered | |
id | number | TRUE | The agent ID |