Skip to main content

Module elicitation

Module elicitation 

Expand description

ACP elicitation primitives.

Implements the subset of the ACP elicitation/create RFD that ZeroClaw uses for multiple-choice prompts. See the ACP elicitation RFD: https://agentclientprotocol.com/rfds/elicitation for the design rationale.

Structs§

ElicitationCapabilities
Capability block parsed from initialize.clientCapabilities.elicitation.
ElicitationRequest
Params for an outbound elicitation/create JSON-RPC request.

Enums§

ElicitationMode
Elicitation transport mode.
ElicitationResponse
Response to an elicitation/create request.

Constants§

SENSITIVE_PROPERTY_NAMES
Property names we refuse to put into a form-mode elicitation schema.

Functions§

decode_multi_select_accept
Decode the accepted content payload of an elicitation/create multi-select response back into the original display texts.
decode_single_select_accept
Decode the accepted content payload of an elicitation/create single-select response back into the original display text.
multi_select_schema
Build the restricted JSON Schema for a multi-select enum elicitation.
multi_select_schema_with_property_name
Internal — mirrors single_select_schema_with_property_name so the SENSITIVE_PROPERTY_NAMES trip-wire guards the multi-select path too, keeping the invariant uniform for future callers.
single_select_schema
Build the restricted JSON Schema for a single-select enum elicitation.
single_select_schema_with_property_name
Internal — exposed for the sensitive-name trip-wire test.