Skip to content
{mcpdesc}

Use MCP primitive schemas in elicitation forms

A form-mode requestedSchema is a flat object whose properties are MCP primitive schemas: string, number, integer, boolean, or enumeration, with only the keywords MCP defines for them.

requestedSchema is an object schema of MCP primitive property schemas with their defined keywords only.

Rule ID: mcp.elicitation.form-schema.members
Owner: mcp
Surface: ElicitRequest requestedSchema
Kind: structural
Requirement level: must
Protocol versions: independent of the MCP protocol version
Document schema locations: #/$defs/elicitationFormSchema, #/$defs/elicitationFormProperty, #/$defs/elicitationFormOption
Status: internal · Enforcement: internal

Source: expected-invalid/component-contextual-schemas.json · Selected: /tools/0/elicitations/0/requestedSchema

{
"$componentRef": "#/components/schemas/NestedForm"
}

elicitation.yaml at immutable tag v0.9.0-rc.3.