View Source SwarmEx.Error.ToolExecutionError exception (SwarmEx v0.1.0)

Raised when a tool execution fails.

This error represents failures in tool operations, which may include:

  • Invalid tool parameters
  • Tool timeouts
  • Resource unavailability
  • Internal tool errors

Summary

Types

@type t() :: %SwarmEx.Error.ToolExecutionError{
  __exception__: true,
  agent: atom() | pid(),
  context: SwarmEx.Error.error_context(),
  message: String.t(),
  reason: term(),
  retryable: boolean(),
  tool: atom() | {module(), atom()}
}