@@ -577,37 +577,37 @@ regardless of this setting.
577577elicit(self , message: str , response_type: None ) -> AcceptedElicitation[dict[str , Any]] | DeclinedElicitation | CancelledElicitation
578578```
579579
580- #### ` elicit ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1028 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
580+ #### ` elicit ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1031 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
581581
582582``` python
583583elicit(self , message: str , response_type: type[T]) -> AcceptedElicitation[T] | DeclinedElicitation | CancelledElicitation
584584```
585585
586- #### ` elicit ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1038 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
586+ #### ` elicit ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1044 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
587587
588588``` python
589589elicit(self , message: str , response_type: list[str ]) -> AcceptedElicitation[str ] | DeclinedElicitation | CancelledElicitation
590590```
591591
592- #### ` elicit ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1048 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
592+ #### ` elicit ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1057 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
593593
594594``` python
595595elicit(self , message: str , response_type: dict[str , dict[str , str ]]) -> AcceptedElicitation[str ] | DeclinedElicitation | CancelledElicitation
596596```
597597
598- #### ` elicit ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1058 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
598+ #### ` elicit ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1070 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
599599
600600``` python
601601elicit(self , message: str , response_type: list[list[str ]]) -> AcceptedElicitation[list[str ]] | DeclinedElicitation | CancelledElicitation
602602```
603603
604- #### ` elicit ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1070 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
604+ #### ` elicit ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1085 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
605605
606606``` python
607607elicit(self , message: str , response_type: list[dict[str , dict[str , str ]]]) -> AcceptedElicitation[list[str ]] | DeclinedElicitation | CancelledElicitation
608608```
609609
610- #### ` elicit ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1082 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
610+ #### ` elicit ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1100 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
611611
612612``` python
613613elicit(self , message: str , response_type: type[T] | list[str ] | dict[str , dict[str , str ]] | list[list[str ]] | list[dict[str , dict[str , str ]]] | None = None ) -> AcceptedElicitation[T] | AcceptedElicitation[dict[str , Any]] | AcceptedElicitation[str ] | AcceptedElicitation[list[str ]] | DeclinedElicitation | CancelledElicitation
@@ -634,9 +634,17 @@ Clients must send an empty object ("{}")in response.
634634- ` response_type ` : The type of the response, which should be a primitive
635635type or dataclass or BaseModel. If it is a primitive type, an
636636object schema with a single "value" field will be generated.
637+ - ` response_title ` : Optional label to display for the wrapped `` value ``
638+ field when `` response_type `` is a scalar, Literal, Enum, or one
639+ of the dict/list shorthand forms. Overrides the auto-generated
640+ "Value" label. Raises `` TypeError `` if passed with a BaseModel,
641+ dataclass, or `` None `` response type (use `` Field(title=...) ``
642+ on the model instead).
643+ - ` response_description ` : Optional description to attach to the wrapped
644+ `` value `` field. Same scope rules as `` response_title `` .
637645
638646
639- #### ` set_state ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1196 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
647+ #### ` set_state ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1229 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
640648
641649``` python
642650set_state(self , key: str , value: Any) -> None
@@ -657,7 +665,7 @@ requests.
657665The key is automatically prefixed with the session identifier.
658666
659667
660- #### ` get_state ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1238 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
668+ #### ` get_state ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1271 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
661669
662670``` python
663671get_state(self , key: str ) -> Any
@@ -671,7 +679,7 @@ then falls back to the session-scoped state store.
671679Returns None if the key is not found.
672680
673681
674- #### ` delete_state ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1252 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
682+ #### ` delete_state ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1285 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
675683
676684``` python
677685delete_state(self , key: str ) -> None
@@ -682,7 +690,7 @@ Delete a value from the state store.
682690Removes from both request-scoped and session-scoped stores.
683691
684692
685- #### ` enable_components ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1273 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
693+ #### ` enable_components ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1306 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
686694
687695``` python
688696enable_components(self ) -> None
@@ -706,7 +714,7 @@ ResourceListChangedNotification, and PromptListChangedNotification.
706714- ` match_all ` : If True, matches all components regardless of other criteria.
707715
708716
709- #### ` disable_components ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1311 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
717+ #### ` disable_components ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1344 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
710718
711719``` python
712720disable_components(self ) -> None
@@ -730,7 +738,7 @@ ResourceListChangedNotification, and PromptListChangedNotification.
730738- ` match_all ` : If True, matches all components regardless of other criteria.
731739
732740
733- #### ` reset_visibility ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1349 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
741+ #### ` reset_visibility ` <sup ><a href = " https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/context.py#L1382 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
734742
735743``` python
736744reset_visibility(self ) -> None
0 commit comments