Tools
Use the shipped POJO toolkit catalog, write custom @Tool methods, and control how the LLM dispatches them.
Pages
- Catalog — 62 shipped POJO toolkits (~206
@Toolmethods) across 29 categories. - Custom Tools — Write a POJO with
@Tool-annotated methods, register viaAgentBuilder.toolPojos(...). - Examples — Use
@ToolExampleto attach positive and negative call patterns; provider wire-format mapping. - Idempotency —
@Idempotent+IdempotencyStorefor safe retry semantics. Redis / Postgres / in-memory adapters. - Registration —
builtInTools(...)+toolPojos(...)+dynamicTool(...), plussetToolCallFilter/setToolCallListenerhooks. - Registration (Advanced) — Filters, listeners, and runtime introspection.
- Multimodal —
IMAGE_GEN_TOOLS,TEXT_TO_SPEECH_TOOLS,SPEECH_TO_TEXT_TOOLSaggregator toolkits (DALL-E 3, FLUX, Stability, ElevenLabs, Cartesia, Deepgram, AssemblyAI, Replicate Whisper). - Advanced — Per-action LLM overrides, dispatcher inspection, Composio integration.
For MCP-sourced tools see MCP / Client.
Capabilities
Pluggable building blocks that give an agent power beyond raw LLM calls.
Tool Catalog
tnsai-tools ships 59 function-shape POJO toolkits exposing roughly 206 @Tool-annotated methods across 29 categories. Each toolkit is a plain class with public methods annotated @Tool; the framework discovers them reflectively via ToolMethodRegistry and dispatches calls through ToolMethodDispatcher (the same path used for any user POJO registered with AgentBuilder.toolPojos(...)).