Create Agent
Browserbase
Browserbase
Create Agent
Create a reusable Browserbase agent. An agent defines a systemPrompt and optional resultSchema that guide its behavior for every run. Only name is required.
ActionAI Tool
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
name | text | Required | Human-readable name for the agent. Maximum length: 255 characters. |
systemPrompt | text | Optional | System prompt that steers the agent's behavior on every run that uses this agent. |
resultSchema | object | Optional | Optional JSON Schema object. Runs referencing this agent will aim to return a result conforming to this schema. |
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 }. Example: properties.company = {"type":"string","description":"The company name"}. |
required | array of text | Optional | Names of required properties from resultSchema.properties. |
Outputs
| Name | Type | Description |
|---|---|---|
statusCode | number | HTTP status code (201 when created successfully) |
body | object | Created agent object |
agentId | text | Unique identifier for the agent. Use as agentId when creating agent runs. |
name | text | Human-readable name for the agent |
systemPrompt | text | System prompt applied to every run that uses this agent |
resultSchema | object | JSON Schema that runs referencing this agent aim to conform their result to |
createdAt | text | Timestamp when the agent was created (ISO 8601) |
updatedAt | text | Timestamp when the agent was last updated (ISO 8601) |