SDK Actions Reference
Actions are the core building blocks that define what your agents can do. This reference covers all available action types and their parameters.LLM Actions
Message
Generate responses using large language models with tool support.Model Options
claude-sonnet-4-20250514(Latest) -claude-sonnet-4-claude-haiku-4gpt-4o-gpt-4o-mini
Response Formats
- Text (default) - JSON Schema - Structured outputs - Custom formats
Tool Integration
Add tools to enhance LLM capabilities:Code Execution Actions
Execute Code
Run Python code in secure sandboxed environments:Parse File Results
Extract structured data from execution outputs:Security Features
Security Features
- Sandboxed execution: All code runs in isolated containers - Resource limits: CPU, memory, and time constraints - Network isolation: Controlled external access - Secret management: Encrypted credential handling - File system isolation: Restricted file access
Web Research Actions
Web Search
Search the internet for current information:Web Parser
Extract content from web pages:Supported Formats
- HTML to Markdown - Plain text extraction - Structured data (JSON-LD, microdata) - PDF parsing
Anti-Bot Handling
- JavaScript rendering - CAPTCHA detection - Rate limiting respect - User agent rotation
Memory Actions
Store Memories
Save knowledge and insights for future use:Search Memories
Retrieve relevant knowledge from past interactions:Update Memories
Modify existing knowledge entries:Bot Actions
Invoke Pre-built Bots
Use specialized bots for common tasks:Utility Actions
Data Manipulation
Handle data transformation and validation:Control Flow
Manage execution flow and error handling:Advanced Action Patterns
Conditional Execution
Execute actions based on complex conditions:Iterative Processing
Process data collections with iteration:Error Recovery
Implement robust error handling:Best Practices
- Performance
- Security
- Reliability
- Use appropriate models for task complexity - Implement caching for repeated operations - Optimize resource usage in code execution - Limit memory search scope when possible