tool-integrator

tool-integrator is an agent for Claude Code from TheLobbi/claude. It costs 24 tokens per session (4,637 once invoked), scanned A, original, MIT.

An agent that creates and connects tools for LangGraph applications. Tools are functions that let an AI workflow call external APIs, databases, files, or custom business logic.

In plain words
What is it for?
Use it to define tools with decorators or data models, connect external APIs and databases, add file-system tools, and attach tools to language models or graph tool nodes.
Why use it?
It helps turn outside operations into structured tools that an AI model can use, while covering tool definitions, binding, error handling, and retries.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Part of the langgraph-architect plugin — 5 commands, 12 agents, 1 MCP server shipped together

Good fit Use it to define tools with decorators or data models, connect external APIs and databases, add file-system tools, and attach tools to language models or graph tool nodes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/thelobbi/claude/tool-integrator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/TheLobbi/claude

Made for: Claude Code.

Or install langgraph-architect, the plugin that ships this one along with the rest of its 5 commands, 12 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tool-integrator

README.md
[![agentmods](https://agentmods.dev/badge/agents/thelobbi/claude/tool-integrator/github.svg)](https://agentmods.dev/agents/thelobbi/claude/tool-integrator)
Your own site
<a href="https://agentmods.dev/agents/thelobbi/claude/tool-integrator"><img src="https://agentmods.dev/badge/agents/thelobbi/claude/tool-integrator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tool-integrator

Your own site · 80×15
<a href="https://agentmods.dev/agents/thelobbi/claude/tool-integrator"><img src="https://agentmods.dev/badge/agents/thelobbi/claude/tool-integrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,637 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.04637
Opus 5.5 $0.00010 $0.01855
Sonnet 5.5 $0.00005 $0.00927
Haiku 4.5 $0.00002 $0.00464

Measured 3mo ago against content hash 4c6edac423e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tool-integrator scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

results = await conn.fetch(query, *params)
.claude/plugins/langgraph-architect/agents/tool-integrator.md · 773 lines

How it starts

The opening of the file, as written. The whole thing — 773 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Tool Integrator Agent

---
name: tool-integrator
version: 1.0.0
model: claude-sonnet-5
color: teal
description: Expert in integrating tools with LangGraph agents and workflows
expertise:
  - Tool decorator usage
  - Pydantic tool definitions
  - ToolNode and ToolExecutor
  - External API integration
  - Database query tools
  - File system tools
  - Error handling and retries
  - Tool binding to LLMs
tags:
  - langgraph
  - tools
  - integration
  - apis
---

Core Expertise

The Tool Integrator is an expert in creating, integrating, and managing tools within LangGraph applications. Tools extend agent capabilities by enabling interaction with external systems, databases, APIs, file systems, and custom business logic.

Tool Definition Patterns

1. Basic Tool Decorator

Simple function-based tools:

from langchain_core.tools import tool

@tool
def search_tool(query: str) -> str:
    """
    Search for information.

    The docstring becomes the tool description that the LLM sees.
    Be specific about what the tool does and when to use it.

    Args:
        query: The search query string

    Returns:
        Search results as a string
    """
    # Implementation
    results = perform_search(query)
    return f"Search results: {results}"

@tool
def calculator(expression: str) -> float:
    """
    Calculate mathematical expressions.

    Evaluates basic arithmetic expressions.

    Args:
        expression: Math expression like "2 + 2" or "10 * 5"

    Returns:
        The calculated result
    """
    try:
        result = eval(expression)
        return float(result)
    except Exception as e:
        return f"Error: {str(e)}"

@tool
def get_current_time() -> str:
    """
    Get the current time.

    Returns current time in ISO format.
    """
    from datetime import datetime
    return datetime.now().isoformat()

2. Pydantic Tool Definitions

Structured tools with validation:

from langchain_core.tools import tool
from pydantic import BaseModel, Field

class SearchInput(BaseModel):
    """Input schema for search tool."""
    query: str = Field(description="The search query")
    limit: int = Field(default=10, description="Maximum number of results")
    filters: dict = Field(default_factory=dict, description="Optional filters")

@tool(args_schema=SearchInput)
def advanced_search(query: str, limit: int = 10, filters: dict = None) -> str:
    """
    Advanced search with filters and limits.

    Pydantic schema provides:
    - Input validation
    - Type conversion
    - Default values
    - Detailed parameter descriptions
    """
    filters = filters or {}
    results = perform_advanced_search(query, limit, filters)
    return f"Found {len(results)} results"

class DatabaseQueryInput(BaseModel):
    """Input schema for database query tool."""
    table: str = Field(description="Table name to query")
    columns: list[str] = Field(description="Columns to select")
    where: str = Field(default="", description="WHERE clause conditions")
    limit: int = Field(default=100, ge=1, le=1000, description="Result limit")

@tool(args_schema=DatabaseQueryInput)
def query_database(
    table: str,
    columns: list[str],
    where: str = "",
    limit: int = 100
) -> str:
    """
    Query database with SQL parameters.

    Pydantic validation ensures:
    - table and columns are provided
    - limit is between 1 and 1000
    - where clause is optional
    """
    query = f"SELECT {','.join(columns)} FROM {table}"
    if where:
        query += f" WHERE {where}"
    query += f" LIMIT {limit}"

    results = execute_query(query)
    return str(results)

Read the full file on GitHub · 773 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 773 lines · 24 tokens per session scan A 4c6edac423e5

Subscribe to this mod's changes

tool-integrator is an agent published in the GitHub repository TheLobbi/claude (22 stars, last pushed 1mo ago), licensed MIT. It adds 24 tokens to every session and 4,637 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

tool-integrator compared with agents from other repositories

tool-integrator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tool-integratorTheLobbi/claudeAgent221mo agoMITA24Claude Code
php-developerdavepoon/buildwithclaudeAgent3.8k2d agoMITA51Claude Code
backend-reviewerjeremylongshore/tons-of-skills-marketplaceAgent3.0k3d agoMITA36Claude Code
openai-api-expert0xfurai/claude-code-subagentsAgent1.0k28d agoMITA23Claude Code
integrations-engineeravelikiy/great_ctoAgent11718d agoMITA106Claude Code
gatetonone-ai/tononeAgent85yesterdayMITA19Claude Code
broadcasting-agentSofttor/nestjs-hexagonalAgent519d agoMITA58Claude Code