Back
developer-toolsagentsOpen source

Tool Prune

Select relevant agent tools before showing their schemas to an LLM.

What Jev decides

Which tool description best matches the request.

Tool Prune ranks tool descriptions for a request, narrows the schemas sent to an agent, and can dispatch a confident match directly.

CHOICE
Jev role
Rank available tools against the current request when the TypeSafe engine is selected.
Input
The user request and the supplied tool names and descriptions.
Output
A selected tool and scores used for filtering or direct dispatch.
Decision frequency
Before an agent receives candidate tool schemas or dispatches a request.
Fallback
Use the offline TurboQuant engine when the Jev API is not configured.
Author reported · Source reviewed

How it works

Input
The user request and the supplied tool names and descriptions.
Jev
CHOICE
Output
A selected tool and scores used for filtering or direct dispatch.

Overview

Tool Prune offers an offline TurboQuant engine by default and an optional TypeSafe Jev engine when an API key is present. It can return one matching tool, filter a larger tool set, or send a confident request to a handler without an LLM turn. The repository reports benchmark results for both engines; the Jev path is optional rather than required for every use.

Language
JavaScript / Python
License
MIT
Author
hemanth
Sources checked Sep 24, 2026

Sources

Related projects