Skip to content

reaatech/structured-function-calling-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@reaatech/structured-function-calling-ai

Enforce schema contracts, validate tool outputs, and orchestrate function calls across LLMs with reusable middleware.

Packages

Package Description
@reaatech/structured-function-calling-ai-core Zod-based tool definitions, registry, and provider-agnostic JSON Schema generation
@reaatech/structured-function-calling-ai-engine Execution engine with retry, circuit breakers, and telemetry hooks
@reaatech/structured-function-calling-ai-adapter-openai Normalize tool calls to/from OpenAI's function-calling format
@reaatech/structured-function-calling-ai-adapter-anthropic Normalize tool calls to/from Anthropic's tool-use format
@reaatech/structured-function-calling-ai-adapter-google Normalize tool calls to/from Google Gemini's function-calling format
@reaatech/structured-function-calling-ai-cli Scaffold, validate, and dry-run tool definitions from the command line
@reaatech/structured-function-calling-ai-mcp-server MCP server exposing registered tools for discovery and invocation

Prerequisites

  • Node 22
  • pnpm 10.22.0

Getting started

pnpm install
pnpm build
pnpm test

Project structure

  • packages/structured-function-calling-ai-core/ — tool definitions, registry, schema conversion
  • packages/structured-function-calling-ai-engine/ — execution engine with middleware pipeline
  • packages/structured-function-calling-ai-adapter-openai/ — OpenAI function-calling adapter
  • packages/structured-function-calling-ai-adapter-anthropic/ — Anthropic tool-use adapter
  • packages/structured-function-calling-ai-adapter-google/ — Google Gemini function-calling adapter
  • packages/structured-function-calling-ai-cli/tcc CLI for scaffolding and validation
  • packages/structured-function-calling-ai-mcp-server/ — MCP server for tool discovery and invocation

License

MIT — see LICENSE.

About

Enforce schema contracts, validate tool outputs, and orchestrate function calls across LLMs with reusable middleware.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors