convert

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package convert handles the conversion of Echo routes to MCP tool definitions. It processes HTTP routes, extracts metadata, generates input schemas, and creates the mapping between MCP tools and their corresponding HTTP operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertRoutesToTools

func ConvertRoutesToTools(routes []*echo.Route, registeredSchemas map[string]types.RegisteredSchemaInfo, swaggerSpec *swagger.SwaggerSpec) ([]types.Tool, map[string]types.Operation)

ConvertRoutesToTools converts Echo routes into a list of MCP Tools and an operation map.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL