Defines stable constants for LocalAI MCP tool names used across the server.
// Source: https://github.com/mudler/LocalAI | License: MIT | Copyright 2023-2025 Ettore Di Giacinto (mudler@localai.io) // Provided via justclaw.it.com; keep this notice with the code. package localaitools // Tool names exposed by the LocalAI Assistant MCP server. Use these // constants — never bare strings — when registering tools, asserting the // catalog in tests, or referencing tool names from other packages. The // embedded skill prompts under prompts/ keep the bare strings because // go:embed-ed markdown can't reference Go constants; prompts_test.go guards // that the mutating names stay aligned with the confirmation rule. const ( // Read-only tools. ToolGallerySearch = "gallery_search" ToolListInstalledModels = "list_installed_models" ToolListGalleries = "list_g ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key