cortexai-tools 0.1.0

Built-in tools for Cortex AI agents: calculator, web search, file I/O and more
Documentation

Built-in Tools

Common tools that can be used by agents, with enhanced registry featuring circuit breaker, retry, and timeout patterns.

Available Tools

Math

  • CalculatorTool - Full expression evaluation with scientific functions
  • UnitConverterTool - Convert between units (length, weight, temperature)
  • StatisticsTool - Calculate mean, median, std dev, etc.

DateTime

  • CurrentTimeTool - Get current date/time
  • DateParserTool - Parse dates in various formats
  • DateCalculatorTool - Date arithmetic and differences

Encoding

  • JsonTool - Parse, format, merge JSON
  • Base64Tool - Encode/decode Base64
  • HashTool - SHA256/SHA512 hashing
  • UrlEncodeTool - URL encode/decode

File System

  • ReadFileTool - Read file contents
  • WriteFileTool - Write to files
  • ListDirectoryTool - List directory contents

Web

  • HttpRequestTool - Make HTTP requests
  • WebSearchTool - Web search (stub)

SQL (requires postgres feature)

  • ExecuteSqlTool - Execute read-only SQL queries
  • ListTablesTool - List database tables and columns
  • DescribeTableTool - Get detailed table schema information

Cross-Reference (requires crossref feature)

  • CrossReferenceEntityTool - Cross-reference entities across data sources with PT-BR narratives