Interface: FormField
Defined in: core/elicitation.ts:18
One field of a form a server asks for, from its JSON Schema (MCP's flat, primitive one).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
default? | string | number | boolean | string[] | - | core/elicitation.ts:28 |
description? | string | - | core/elicitation.ts:21 |
key | string | - | core/elicitation.ts:19 |
maximum? | number | - | core/elicitation.ts:30 |
minimum? | number | - | core/elicitation.ts:29 |
multiple? | boolean | Several of options (an array of an enum). | core/elicitation.ts:26 |
options? | object[] | The values it may take (a choice), and what each is called, when the schema names them. | core/elicitation.ts:24 |
required | boolean | - | core/elicitation.ts:27 |
title | string | - | core/elicitation.ts:20 |
type | "string" | "number" | "boolean" | "integer" | - | core/elicitation.ts:22 |