RPA Tools
What are RPA Tools?
RPA Tool Structure
// Example: RPA Tool with input and optional output schemas
interface RPATool<Input extends z.ZodSchema, Memory = any, Output extends z.ZodSchema = z.ZodTypeAny> {
name: string; // Unique tool identifier
description: string; // What the tool does (used by LLM)
input: Input; // Zod schema for input validation
output?: Output; // Optional: Zod schema for output validation (e.g., outputSchema)
isGlobal?: boolean; // Optional: available across all LLM calls
type: 'rpa'; // Required: marks this as an RPA tool
proxyConfig?: ProxyConfig; // Optional: unified proxy configuration
browserTaskMode?: BrowserTaskMode; // Optional: browser provider (local/cloud/onPrem)
persistSession?: boolean; // Optional: persist cookies & localStorage across executions (default: true)
execute: ({ input, state, agent, page }) => Promise<{ result? }>;
}Execute Function Signature
Parameters
Proxy Configuration
Browser Provider Configuration
Automatic Features
Basic RPA Tool Example
RPA Development Guidelines
Prerequisites
Development Workflow
Available Data Sources
General Rules
CAPTCHA Handling
Tool Registration
Tool Nodes
Testing
Local Testing
Debugging Failed Executions
Limitations
See Also
Last updated