TnsAI

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 @Tool methods) across 29 categories.
  • Custom Tools — Write a POJO with @Tool-annotated methods, register via AgentBuilder.toolPojos(...).
  • Examples — Use @ToolExample to attach positive and negative call patterns; provider wire-format mapping.
  • Idempotency@Idempotent + IdempotencyStore for safe retry semantics. Redis / Postgres / in-memory adapters.
  • RegistrationbuiltInTools(...) + toolPojos(...) + dynamicTool(...), plus setToolCallFilter / setToolCallListener hooks.
  • Registration (Advanced) — Filters, listeners, and runtime introspection.
  • MultimodalIMAGE_GEN_TOOLS, TEXT_TO_SPEECH_TOOLS, SPEECH_TO_TEXT_TOOLS aggregator 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.

On this page