Updates an agent definition. Only provided fields are changed.
API key starting with sk_case_
Agent ID
Updated agent display name
Updated agent description. Pass null to clear if supported by the client.
Updated system instructions that guide agent behavior
Model identifier the agent should use for future runs
Vault IDs the agent can access directly. Pass null to clear.
Vault group IDs the agent can access. Pass null to clear.
Allowlist of tools the agent can use. Mutually exclusive with disabledTools — set one or the other, not both. Pass null to clear.
Denylist of tools the agent cannot use. Mutually exclusive with enabledTools — set one or the other, not both. Pass null to clear.
Sandbox configuration override for future agent runs. Pass null to clear.