tools

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: May 12, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAllTools

func RegisterAllTools(s *server.Server, weatherService *services.WeatherService, factsService *services.FactsService) error

RegisterAllTools registers all tools with the MCP server

func RegisterDatetimeTool

func RegisterDatetimeTool(s *server.Server)

RegisterDatetimeTool registers the datetime tool with the MCP server

func RegisterFactsTool

func RegisterFactsTool(s *server.Server, factsService *services.FactsService)

RegisterFactsTool registers the facts tool with the MCP server

func RegisterWeatherResources

func RegisterWeatherResources(s *server.Server, weatherService *services.WeatherService) error

RegisterWeatherResources registers weather-related resources with the MCP server

Types

This section is empty.

Jump to

Keyboard shortcuts

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