Update Agent
Browserbase
Browserbase
Update Agent
Update an existing Browserbase agent. Only the fields provided in the body are modified; omitted fields are left unchanged.
ActionAI Tool
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
agent_id | text | Required | The agent ID to update. |
name | text | Optional | Updated human-readable name for the agent. Maximum length: 255 characters. |
systemPrompt | text | Optional | Updated system prompt that steers the agent's behavior. |
resultSchema | object | Optional | Updated JSON Schema for structured run results. |
properties | dynamic object | Optional | Schema properties keyed by output field name. Structure: properties.<field_name> = { type: 'string' | 'number' | 'integer' | 'object' | 'array', description: string, properties?: object, items?: object }. |
required | array of text | Optional | Names of required properties from resultSchema.properties. |
Outputs
| Name | Type | Description |
|---|---|---|
statusCode | number | HTTP status code |
body | object | Updated agent object |
agentId | text | Unique identifier for the agent |
name | text | Human-readable name for the agent |
systemPrompt | text | System prompt applied to every run that uses this agent |
resultSchema | object | JSON Schema for structured run results |
createdAt | text | Timestamp when the agent was created (ISO 8601) |
updatedAt | text | Timestamp when the agent was last updated (ISO 8601) |