1"""Hermes adapter for the nzip agent interface."""23from .tools import definitions, invoke456def register(ctx):7 """Register the shared nzip tool contract with Hermes."""8 for tool in definitions():9 schema = {10 "name": tool["name"],11 "description": tool["description"],12 "parameters": tool["inputSchema"],13 }1415 def handler(params, tool_name=tool["name"], **kwargs):16 del kwargs17 return invoke(tool_name, params)1819 ctx.register_tool(20 name=tool["name"],21 toolset="nzip",22 schema=schema,23 handler=handler,24 description=tool["description"],25 )