Update an Agent Config

Update an Agent Config.

Path Params
string
required

The ID of the Agent Config to use.

Body Params

Schema for updating an agent config.

length ≥ 2

The name of the agent.

The description of the agent.

length ≥ 2

The prompt for the agent.

The ID of the LLM config associated with the agent.

OpenAIConfig | BedrockConfig | null

Extra configuration to pass to the LLM when instantiated.

Note: This will be validated against the LLM config's config_schema.

array | null

The IDs of the tool configs associated with the agent.

Must be provided if bound_tool_args are provided.

array | null

List of arguments to tools that have been hardcoded.

The order and length of this list is the same as that of tool_configs. The
dictionaries in this list contain key-value pairs, where the key is the name
of a tool argument and the value is what should be hardcoded for that tool.
If the dict is empty, then there are no hardcoded values for the tool.

Must be provided if tool_config_ids are provided.

PublishedStatus | null

The published status of the agent.

The ID of the tool that the agent is published as .

object | null

The input schema for the agent.

Specifies the inputs that the agents require conforming to the JSON schema
standard.
ref: https://json-schema.org/

Note that name of parameters are used to inject dependencies into the tools.
If a parameter name matches the argument name of a tool, then it will be
injected into the tool. It is up to the developer to ensure that the names
match those required by the tools. The names are not validated.

If the parameters don't match the arguments of the tools, then the LLM may
still be able to manually include them in tool calls.

object | null

The output schema for the agent.

Specifies the output that the agents output conforming to the JSON schema
standard.
ref: https://json-schema.org/

If None, the agent will output a string.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Choose an example:
application/json