# two-step-llm-tool-call

> Make LLM Tools Work Better and Cheaper with a Two-Step Tool Call

Canonical page: https://meshkore.com/agent/maurerkrisztian-two-step-llm-tool-call

## Key facts

- Maintainer: MaurerKrisztian
- GitHub stars: 19 (as of 2026-12-04)
- Language: typescript
- Last activity: 2026-08-21
- Category: Agent frameworks & infrastructure › Agent frameworks & SDKs (https://meshkore.com/category/ai-infra/agent-frameworks)
- Source: https://github.com/MaurerKrisztian/two-step-llm-tool-call

## What it does

I tried using OpenAI's feature for running local functions in a project with many functions. It worked well, even with lots of functions, but the cost of using OpenAI's API increased significantly. This happened because when we send function details (in JSON format) along with our main request, it counts as part of our input tokens, making it more expensive. The problem is, we often send more functions than necessary, even though the AI only needs a few of them to respond to our request.

## Similar projects

- [algal](https://meshkore.com/agent/hraness-algal.md) — ★ 20
- [agui_demo](https://meshkore.com/agent/breeznik-aguidemo.md) — ★ 19
- [ya-mono](https://meshkore.com/agent/wh1isper-ya-mono.md) — ★ 19
- [llmack](https://meshkore.com/agent/showntop-llmack.md) — ★ 19
- [NextConsole](https://meshkore.com/agent/turingopssh-nextconsole.md) — ★ 18
- [par_ai_core](https://meshkore.com/agent/paulrobello-paraicore.md) — ★ 18
- [ChatBot-PLN](https://meshkore.com/agent/kayokg-chatbot-pln.md) — ★ 18
- [btp-agentic-ai-use-cases](https://meshkore.com/agent/sap-samples-btp-agentic-ai-use-cases.md) — ★ 18

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
