Explorer

definy.mcp-text

description
(en) The MCP tool result of text (status 200 with the text body. definy.mcp-call-tool turns it into the tool result)
type
Fn(text: String) -> @definy.service-io
expression
fn(text$0) =>
  #done<@definy.service-io>(#respond({status: 200, headers: [], body: #text<@definy.http-body>($0)}))
visibility
public
definy.mcp-text (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: 9mDP_AXDCchbgsd6nhJAkE_j9moaSCYxE-DTflrckbw
content hash: f8gYQydGbBUdQQl7tcQHz8xQpYFA3B99tUnmXgiZmoM