code.mcp.base.wrap

call-tool-result

(call-tool-result {:keys [content isError structuredContent meta]})

clj-tool->spec

(clj-tool->spec tool)

error-result

(error-result text)

text-content

(text-content text)

tool->sdk-tool

(tool->sdk-tool {:keys [name title description inputSchema outputSchema annotations meta]})

tool-handler

(tool-handler {:keys [implementation], :as tool})