Skip to content

v0.3.0

Latest

Choose a tag to compare

@leafo leafo released this 25 Sep 20:12
v0.3.0

Features

  • OpenAI strict mode: OpenAIToolAdapter accepts strict: true to emit schemas for OpenAI strict mode. All properties are marked required, optional ones become nullable, additionalProperties is set to false, and default is removed. Without it, schemas keep their original MCP shape (34772f5, 9003563).

    adapter = OpenAIToolAdapter server, strict: true
    
  • @include exclude: skip tools from the source class by name, matched before prefix is applied. Naming a tool the source doesn't have raises an error (a1e6d53).

    @include SharedFileTools, exclude: {"read"}
    
  • Tool groups: tools accept a group through @add_tool or @include. On @include it replaces the group on every included tool. Server-side metadata for organizing tools (eg. toggling a set in a UI), not sent to MCP clients (019fad8).

    @include SharedFileTools, group: "files"
    

Fixes

  • execute_tool strips JSON null values from arguments before validation. An optional parameter sent as null is treated as omitted, and a required one sent as null fails with Missing required parameter (34772f5).

Install

luarocks install lapis-mcp 0.3.0