def server

ezmcp@0.1.0.0 · main.bend:28

import ezmcp@0.1.0.0/main.bend as Ezmcp
import Base
import ezmcp@0.1.0.0/src/server.bend as Server

28# a server: name and version (serverInfo), instructions for the client ("" for
29# none), and its tools in the order tools/list shows them
30def server(  # noqa: L001 the Server.Server constructor
31  name: String,
32  version: String,
33  instructions: String,
34  tools: List<&2, Server.Tool>
35) -> Server.Server:
36  Server.Server{name, version, instructions, tools}

Uses (4)

Used by (0)

No other definition uses this definition.