Skip to main content

Module base

Module base 

Source
Expand description

Tool Base Trait and Types

This module defines the core Tool trait that all tools must implement. It provides a unified interface for tool execution with:

  • Name and description for identification
  • JSON Schema for input validation
  • Async execution with context
  • Permission checking
  • Configurable options

Requirements: 1.1, 1.2

Structs§

PermissionCheckResult
Result of a permission check

Enums§

PermissionBehavior
Permission check behavior

Traits§

Tool
Tool trait - the core interface for all tools