Helper module used to build BooleanSchema structure: a yes/no field of
an elicitation form.
(MCP protocol: 2025-11-25)
Short example:
%BooleanSchema{}
|> BooleanSchema.title("Subscribe")
|> BooleanSchema.default(true)
|> BooleanSchema.build()Result:
%{type: "boolean", title: "Subscribe", default: true}Specification: BooleanSchema
Fields
| Field | Setter | Type | Required |
|---|---|---|---|
title | title/2 | string | no |
description | description/2 | string | no |
default | default/2 | boolean | no |