aarondb/mcp/tools

mcp/tools — MCP tool registry

Tool definitions exposed to MCP clients: all_tools/0 returns the registry. Pure data over gleam/json; no side effects.

Types

pub type Tool {
  Tool(
    name: String,
    description: String,
    input_schema: json.Json,
  )
}

Constructors

  • Tool(name: String, description: String, input_schema: json.Json)

Values

pub fn all_tools() -> List(Tool)

Only the three handlers below are executable in this build. The registry also describes a larger Muninn-compatible surface, but advertising unsupported operations would make tools/list lie to clients.

pub fn precompiled_array(items: List(json.Json)) -> json.Json
Search Document