MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_adding_tool_after_mounting
Test that tools added after mounting are accessible.
tests/server/mount/test_advanced.py:18
Methodtest_additional_properties_false_vs_missing
Test difference between additionalProperties: false and missing additionalProperties
tests/utilities/json_schema_type/test_advanced.py:1394
Methodtest_additional_properties_type_consistency
Test that the same schema always returns the same type
tests/utilities/json_schema_type/test_advanced.py:1438
Methodtest_additional_properties_with_defaults
Test additionalProperties with default values
tests/utilities/json_schema_type/test_advanced.py:1418
Methodtest_adds_get_prompt_tool
Transform adds get_prompt tool.
tests/server/transforms/test_prompts_as_tools.py:25
Methodtest_adds_list_prompts_tool
Transform adds list_prompts tool.
tests/server/transforms/test_prompts_as_tools.py:15
Methodtest_adds_list_resources_tool
Transform adds list_resources tool.
tests/server/transforms/test_resources_as_tools.py:18
Methodtest_adds_read_resource_tool
Transform adds read_resource tool.
tests/server/transforms/test_resources_as_tools.py:28
Functiontest_advertised_interval_caps_the_ramp
An advertised interval is the ceiling the ramp tops out at.
tests/tasks/client/test_poll_interval.py:30
Methodtest_advertised_scopes_follow_required_scopes
(self, provider: WorkOSProvider)
tests/server/auth/providers/test_workos.py:499
Methodtest_advertises_grant_when_enabled
(self, config: IdentityAssertion)
tests/server/auth/oauth_proxy/test_identity_assertion.py:237
Methodtest_advertises_none_auth_method_without_cimd
( self, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:251
Functiontest_advertises_skills_and_resources_capabilities
()
tests/skills/test_extension.py:138
Functiontest_age_boundaries_and_empty_success_are_explicit
(triage)
tests/test_public_triage.py:149
Functiontest_aggregate_setup_cannot_introduce_a_new_root_extension
()
tests/server/test_provider_extensions.py:805
Functiontest_aggregate_startup_accepts_supported_bundle_on_a_later_descendant
( target_kind: Literal["mounted_server", "aggregate"], wrapped: bool )
tests/server/test_provider_extensions.py:886
Functiontest_aggregate_startup_rejects_new_extension_on_a_later_descendant
( target_kind: Literal["mounted_server", "aggregate"], wrapped: bool )
tests/server/test_provider_extensions.py:866
Methodtest_algorithm_configuration
Test that algorithm can be configured for different JWT signing methods.
tests/server/auth/providers/test_supabase.py:98
Methodtest_algorithm_default_es256
Test that algorithm defaults to ES256 when not specified.
tests/server/auth/providers/test_supabase.py:118
Methodtest_algorithm_from_parameter
Test that algorithm can be configured via parameter.
tests/server/auth/providers/test_supabase.py:128
Methodtest_algorithm_rejects_hs256
Test that HS256 is rejected for Supabase's JWKS-based verifier.
tests/server/auth/providers/test_supabase.py:109
Methodtest_alias_chain_keeps_outer_siblings
(self)
tests/utilities/test_json_schema.py:1272
Methodtest_alias_cycle_or_missing_target_is_unchanged
(self, defs: dict[str, Any])
tests/utilities/test_json_schema.py:1309
Methodtest_alias_map_is_bidirectional
Verify the alias map covers the known Google shorthands.
tests/server/auth/providers/test_google.py:248
Methodtest_alias_matching_another_parameter_name
(self)
tests/resources/test_resource_template.py:1416
Methodtest_aliased_ask_arm_stripped
A lone aliased arm (`str | AskAlias`) is recognized as a guard signal and stripped, leaving the data arm's schema.
tests/server/test_mrtr_guards.py:194
Functiontest_aliased_cyclic_members_keep_reference_order
()
tests/utilities/openapi/test_composition_graphs.py:162
Methodtest_aliased_guard_union_stripped
A `type Result = str | InputRequiredResult` alias is unwrapped before stripping, so the ask arm never leaks into the output schema.
tests/server/test_mrtr_guards.py:182
Methodtest_all_arguments_together_arrive_literally
(self)
tests/cli/test_install_cli_arguments.py:242
Methodtest_all_classes_generate_valid_schemas
Verify all affected classes can generate valid JSON schemas.
tests/test_json_schema_generation.py:149
Methodtest_all_criteria_must_match
Multiple criteria use AND logic - all must match.
tests/server/transforms/test_visibility.py:78
Methodtest_all_defaults_preserved_together
Test that all default types are preserved when used together.
tests/client/test_elicitation_enums.py:579
Methodtest_all_fields
(self)
tests/test_apps.py:48
Methodtest_all_fields
(self)
tests/test_apps.py:89
Methodtest_all_fields
(self)
tests/test_apps.py:135
Methodtest_all_four_domain_fields_preserved
The old singleton silently dropped frame_domains and base_uri_domains; the synthesizer covers all four fields.
tests/server/providers/test_prefab_synthesis.py:50
Methodtest_all_optional_parameters
Test initialization with all optional parameters.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:46
Functiontest_all_primitive_field_types
()
tests/client/test_elicitation.py:603
Methodtest_all_providers_instantiable
Test that all vendor providers can be instantiated.
tests/server/providers/test_skills_vendor_providers.py:91
Methodtest_all_providers_support_reload
Test that all providers support reload parameter.
tests/server/providers/test_skills_vendor_providers.py:108
Methodtest_all_providers_support_supporting_files
Test that all providers support supporting_files parameter.
tests/server/providers/test_skills_vendor_providers.py:124
Methodtest_all_proxy_used_as_fallback
ALL_PROXY routes the fetch when HTTPS_PROXY is not set.
tests/server/auth/test_ssrf_protection.py:725
Methodtest_all_raising_returns_none
If every source raises, verify_token returns None.
tests/server/auth/test_multi_auth.py:376
Methodtest_all_watched_extensions_are_accepted
Test that every extension in WATCHED_EXTENSIONS is accepted.
tests/cli/test_run.py:874
Functiontest_allof_at_requestbody_top_level
Test that allOf schemas at requestBody top level are properly merged.
tests/utilities/openapi/test_allof_requestbody.py:10
Functiontest_allof_body_member_pointing_into_a_component_keeps_its_fields
()
tests/server/providers/openapi/test_component_property_refs.py:112
Methodtest_allof_reference_dereferenced
Test that schemas referenced in allOf are preserved and unused defs pruned.
tests/utilities/openapi/test_schemas.py:695
Methodtest_allof_reference_fields_reach_tool_schema_and_request_body
(self)
tests/server/providers/openapi/test_openapi_features.py:1563
Methodtest_allof_reference_request_body_does_not_crash
Required fields inherited through a reference can be sent together.
tests/server/providers/openapi/test_openapi_features.py:1596
Functiontest_allof_with_nested_properties
Test allOf with nested object properties.
tests/utilities/openapi/test_allof_requestbody.py:72
Methodtest_allof_with_nullable
Test nullable handling with allOf constructs.
tests/utilities/openapi/test_nullable_fields.py:228
Functiontest_allof_with_overlapping_properties
Test allOf with overlapping property names (later schemas override).
tests/utilities/openapi/test_allof_requestbody.py:139
Methodtest_allowed_redirect_uri_patterns_stored_on_client
Proxy's allowed_redirect_uri_patterns are forwarded to the created client.
tests/server/auth/test_cimd_validators.py:600
Methodtest_allowlist_matches_cacheable_methods
The allowlist covers SDK and built-in extension cacheable results.
tests/client/client/test_kv_response_cache.py:198
Methodtest_allowlist_pattern
Disable all, then enable specific = allowlist.
tests/server/transforms/test_visibility.py:265
Functiontest_allowlist_restricts_to_listed_methods
()
tests/server/middleware/test_logging_methods_filter.py:62
Methodtest_allows_access_when_tag_not_present
(self)
tests/server/auth/test_authorization.py:266
Methodtest_allows_access_when_tag_present_with_scope
(self)
tests/server/auth/test_authorization.py:288
Methodtest_allows_configured_host_and_origin
(self)
tests/server/http/test_http_auth_middleware.py:387
Methodtest_allows_configured_loopback_origin_for_public_host
(self)
tests/server/http/test_http_auth_middleware.py:476
Methodtest_allows_loopback_origin_for_loopback_host
(self)
tests/server/http/test_http_auth_middleware.py:433
Methodtest_allows_safe_values
Dots inside a segment, benign relative paths, and dotfiles pass. This mirrors the SDK's component-based `contains_path_traversal`: on
tests/resources/test_resource_security.py:87
Methodtest_allows_same_request_origin
(self)
tests/server/http/test_http_auth_middleware.py:411
Functiontest_alpha_only_helper_is_gone
()
tests/skills/test_deprecated_paths.py:184
Methodtest_already_nullable_union_unchanged
Test that union types already containing null are not modified.
tests/utilities/openapi/test_nullable_fields.py:162
Methodtest_already_prefixed_scopes_pass_through
(self)
tests/server/auth/providers/test_azure_scopes.py:536
Methodtest_already_slugified
(self)
tests/cli/test_goose.py:23
Methodtest_alternate_roots
(self)
tests/utilities/test_json_schema.py:955
Methodtest_always_visible_pins_tools
(self)
tests/server/transforms/test_search.py:89
Methodtest_ambiguous_identity_raises_rather_than_guessing
The same app composed into two branches yields two tools with one identity. Routing to either would silently execute the wrong branch's
tests/server/providers/test_prefab_roundtrip.py:728
Methodtest_ambiguous_name
(self, tmp_path: Path)
tests/cli/test_discovery.py:769
Functiontest_ambiguous_name_never_writes
(bridge)
examples/smart_home/tests/test_lights.py:126
Methodtest_ambiguous_resolved_by_qualified
(self, tmp_path: Path)
tests/cli/test_discovery.py:777
Methodtest_ambiguous_union_stays_string
(self, schema)
tests/cli/test_client_commands.py:128
Methodtest_an_image_is_not_duplicated_into_structured_content
The regression this exists to prevent.
tests/tools/tool/test_output_schema.py:698
Methodtest_annotated_bare_guard_returns_suppress_schema
The wholesale suppression also covers Annotated wrappings of a bare guard return — including an aliased one — which exact-match replacement
tests/server/test_mrtr_guards.py:241
Functiontest_annotated_dependency_with_a_depends_default_is_rejected
()
tests/server/test_annotated_dependencies.py:71
Methodtest_annotated_field_validation
(self)
tests/server/providers/local_provider_tools/test_parameters.py:151
Methodtest_annotated_field_with_default_in_signature
Test that Annotated[type, Field(...)] with default in signature works.
tests/prompts/test_prompt.py:941
Methodtest_annotated_list_query_param_splits_commas
`Annotated[...]` must be unwrapped before the list check.
tests/resources/test_resource_template.py:1266
Methodtest_annotated_member_is_member
Test that Annotated with a member class is detected as a member.
tests/utilities/test_types.py:73
Methodtest_annotated_non_member_is_not_member
Test that Annotated with a non-member class is not a member.
tests/utilities/test_types.py:81
Methodtest_annotated_prefab_app_inferred
(self)
tests/test_apps_prefab.py:279
Methodtest_annotated_prefab_app_no_output_schema
(self)
tests/test_apps_prefab.py:359
Methodtest_annotated_scalar_formats_arrive_as_python_types
(self)
tests/client/test_result_hydration.py:172
Methodtest_annotated_string_description
(self)
tests/server/providers/local_provider_tools/test_parameters.py:407
Methodtest_annotated_string_takes_precedence
(self)
tests/utilities/test_docstring_parsing.py:495
Methodtest_annotated_union_return_strips_guard_arm
``Annotated[str | InputRequiredResult, ...]`` derives its output schema from the data arm; the guard arm is stripped inside Annotated.
tests/server/test_mrtr_guards.py:1035
Methodtest_annotated_with_context
Test Annotated[str, Field(...)] works with Context and future annotations.
tests/tools/test_tool_future_annotations.py:119
Methodtest_annotated_with_more_than_string_unchanged
Test that Annotated with more than just a string is unchanged.
tests/utilities/test_types.py:788
Methodtest_annotated_with_non_string_unchanged
Test that Annotated with non-string second arg is unchanged.
tests/utilities/test_types.py:800
Methodtest_annotated_with_union_member_is_member
Test that Annotated with a Union containing a member class is a member.
tests/utilities/test_types.py:86
Functiontest_annotations_and_metadata
(kind: str)
tests/cli/test_content_json.py:82
Methodtest_annotations_override_beats_derived_title
An `annotations` override still outranks the name-derived title.
tests/tools/tool/test_title.py:77
Functiontest_anonymous_and_literal_anon_scope_have_disjoint_keyspaces
A real anonymous task and a (hostile) authenticated task whose scope literally equals "anon" must not collide.
tests/tasks/server/test_task_keys.py:79
Functiontest_anonymous_key_uses_anon_tag
()
tests/tasks/server/test_task_keys.py:73
Methodtest_any_fallback_rejects_non_finite
(self)
tests/tools/tool/test_nonfinite_serialization.py:125
Methodtest_any_fallback_rejects_non_finite_nested
(self)
tests/tools/tool/test_nonfinite_serialization.py:129
Methodtest_any_id_is_rejected_without_a_way_to_create_one
(self)
tests/server/test_session_provider.py:536
Methodtest_any_return_annotation
(self)
tests/tools/tool/test_output_schema.py:108
← previousnext →7,301–7,400 of 15,974, ranked by callers