def tool

ezmcp@0.1.0.0 · main.bend:23

import ezmcp@0.1.0.0/main.bend as Ezmcp
import Base
import emerging-ezjson@1.2.0.0/src/value.bend as Value
import ezmcp@0.1.0.0/src/server.bend as Server

23# a tool: its name, a description for the model, and the JSON Schema of its
24# arguments (an object schema)
25def tool(name: String, description: String, input: Value.Json) -> Server.Tool:  # noqa: L001 the Server.Tool constructor
26  Server.Tool{name, description, input}

Uses (3)

Used by (0)

No other definition uses this definition.