xemantic/xemantic-ai-tool-schema
AI/LLM tool use (function calling) JSON Schema generator - a Kotlin multiplatform library
This library helps developers working with AI agents to easily define what data an AI model should expect when using a 'tool' or 'function'. It takes a Kotlin class description, which outlines the structure of your data, and automatically creates a standard JSON Schema. This schema can then be used with Large Language Models (LLMs) from providers like OpenAI or Anthropic, making it easier for the AI to understand and produce structured data.
Use this if you are a Kotlin developer building AI agents and need to reliably define the expected data structures for your AI's tool use or function calling, without manually writing JSON schemas.
Not ideal if you are not a Kotlin developer or are looking for a solution that doesn't involve defining data structures directly in code.
Stars
50
Forks
2
Language
Kotlin
License
Apache-2.0
Category
Last pushed
Jan 29, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/xemantic/xemantic-ai-tool-schema"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
OpenCSGs/csghub-server
csghub-server is the backend server for CSGHub which helps user to manage datasets, modes, and...
Whth/fabricatio
Fabricatio is a Python library designed for building applications that leverage Large Language...
OpenCSGs/csghub
CSGHub is a brand-new open-source platform for managing LLMs, developed by the OpenCSG team. It...
Haidra-Org/horde-sdk
A python library to interact with AI-Horde's free generative AI APIs
Lightning-AI/litAI
LLM router + minimal agent framework in one. Call any LLM API with OpenAI format. Unified...