Hacker News new | ask | show | jobs
Show HN: Fixing AI Tool Calling Context Bloat (github.com)
5 points by Dheerajiitr 366 days ago
LLM agents rely on tool calls — but tool responses are huge.

Gmail, CRMs, and APIs return bloated JSON LLMs choke on large responses You only need 2–3 fields, but frameworks give you zero control

Toolflow is an AI-native framework to fix this:

* Filter tool responses before they hit the LLM * Context modes: `minimal`, `full`, `custom`, or `ai` * Composable TypeScript tool registry

GitHub: [https://github.com/dksingh1997/toolflow](https://github.com/dksingh1997/toolflow)

Would love feedback — especially from those building with LLMs in production.