haive.core.engine.tool.analyzer

Tool analysis system leveraging Haive’s existing utilities.

This module analyzes tools to determine their properties and capabilities using the existing utilities in haive.core.common.

Classes

ToolAnalyzer

Analyzes tools to determine their properties and capabilities.

Module Contents

class haive.core.engine.tool.analyzer.ToolAnalyzer[source]

Analyzes tools to determine their properties and capabilities.

This analyzer uses existing Haive utilities to detect tool capabilities, schemas, and other properties needed for routing and execution.

Initialize the tool analyzer.

analyze(tool, force=False)[source]

Perform comprehensive tool analysis.

Parameters:
  • tool (haive.core.engine.tool.types.ToolLike) – Tool to analyze

  • force (bool) – Force re-analysis even if cached

Returns:

ToolProperties with complete analysis

Return type:

haive.core.engine.tool.types.ToolProperties