Explorer

definy.mcp-text-error

description
(en) The MCP tool error of text (status 400, so the tool result is isError)
type
Fn(text: String) -> @definy.service-io
expression
fn(text$0) =>
  #done<@definy.service-io>(#respond({status: 400, headers: [], body: #text<@definy.http-body>($0)}))
visibility
public
definy.mcp-text-error (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: f_Bt1gNKECd_4NtxbZSw7D9uwSQp6tjGEr01eFNzPXE
content hash: Sp5PK8PpSas-gUdTiB85Z-ZneBnFxiLuzIcdsR2DW9M