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 parameter_bindings are provided.

array | null

Explicit parameter bindings for each tool.

The order and length of this list must match tool_config_ids.
If provided, tool_config_ids must also be provided.

array | null
deprecated

DEPRECATED: Use parameter_bindings instead.

PublishedStatus | null

The published status of the agent.

array | null

IDs of MCP server configs to assign to this agent.

Replaces all existing MCP server assignments.

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 the actual recorded input_json_schema is a combination of this provided
schema and any parameters required by the tools based on parameter_bindings.

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.

array | null

If provided, replaces all tags on the agent config.

Responses

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