MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,098 in github.com/PrefectHQ/fastmcp

Functiontest_proxy_without_skills_flag_does_not_advertise_skills
()
tests/server/providers/proxy/test_skills.py:106
Functiontest_proxy_without_skills_flag_is_not_forwarded
()
tests/server/providers/proxy/test_skills.py:112
Methodtest_prune_nested_additional_properties
Test pruning additionalProperties: false at all levels when explicitly enabled.
tests/utilities/test_json_schema.py:657
Methodtest_prune_params
Test pruning parameters with compress_schema.
tests/utilities/test_json_schema.py:572
Methodtest_prune_titles
Test pruning title fields.
tests/utilities/test_json_schema.py:635
Methodtest_prune_titles_does_not_recurse_into_default_values
A user default that happens to be a dict shaped like schema metadata must not be corrupted — `default` holds literal values, not sub-schemas.
tests/utilities/test_json_schema.py:827
Methodtest_prune_titles_on_bare_metadata_node
Pydantic emits `{"title": "X"}` for Any-typed fields with no sibling `type`/`properties`. Gemini 2.5 Flash rejects these with MALFORME
tests/utilities/test_json_schema.py:744
Methodtest_prune_titles_on_draft07_and_legacy_keywords
Sub-schemas under draft-07 and 2019-09+ keywords that previous drafts still use must be treated as schemas, not opaque payload — `depe
tests/utilities/test_json_schema.py:765
Methodtest_prune_titles_preserves_user_extension_payloads
User extensions (json_schema_extra, x-* vendor keys) carry opaque payloads that may look metadata-shaped. They must not be touched.
tests/utilities/test_json_schema.py:805
Methodtest_pruning_additional_properties
Test pruning additionalProperties when explicitly enabled.
tests/utilities/test_json_schema.py:586
Methodtest_public_client_fetch_token_sends_client_id_in_body
( self, httpx_mock: HTTPXMock )
tests/server/auth/oauth_proxy/test_upstream_client.py:63
Functiontest_public_client_keeps_standard_authentication
(token_client: TestClient)
tests/server/auth/test_private_key_jwt_auth.py:165
Methodtest_public_client_refresh_token_sends_client_id_in_body
( self, httpx_mock: HTTPXMock )
tests/server/auth/oauth_proxy/test_upstream_client.py:78
Functiontest_public_export_removes_private_influence_before_sorting
(ranking_module)
tests/test_issue_ranking.py:46
Methodtest_public_ipv4_allowed
Public IPv4 addresses should be allowed.
tests/server/auth/test_ssrf_protection.py:63
Functiontest_public_kind_is_a_category_not_formatted_confidence
(ranking_module)
tests/test_issue_ranking.py:194
Functiontest_public_names_resolve_to_their_defining_module
(pbt)
tests/test_pbt_coverage.py:86
Methodtest_public_pkce_app_uses_none_token_auth
(self, memory_storage: MemoryStore)
tests/server/auth/providers/test_huggingface.py:77
Functiontest_public_routes_do_not_report_a_missing_credential
()
tests/cli/deploy/test_horizon_client.py:225
Functiontest_public_scoring_is_independent_of_author_reputation
(ranking_module)
tests/test_issue_ranking.py:79
Methodtest_pydantic_model_function
Test registering a function that takes a Pydantic model.
tests/tools/tool/test_tool.py:187
Methodtest_pydantic_model_return_creates_structured_content_without_schema
Test that Pydantic model returns automatically create structured content even without output schema.
tests/tools/tool/test_content.py:294
Methodtest_pydantic_model_serialized_to_json
Pydantic model is JSON-serialized.
tests/resources/test_resources.py:151
Methodtest_pydantic_model_strict_validation
With strict validation, Pydantic models should enforce exact types.
tests/server/test_input_validation.py:221
Methodtest_pydantic_model_with_coercion
Pydantic models should benefit from coercion without strict validation.
tests/server/test_input_validation.py:196
Methodtest_pydantic_model_with_dict_no_strict
Pydantic models should accept dict arguments without strict validation.
tests/server/test_input_validation.py:156
Methodtest_pydantic_typeadapter_compatibility
Test that modified function works with Pydantic TypeAdapter (regression test for #2562).
tests/utilities/test_types.py:707
Methodtest_python_file
(self)
tests/cli/test_generate_cli.py:393
Methodtest_python_file_existing
(self, tmp_path: Path)
tests/cli/test_client_commands.py:396
Methodtest_python_keyword_property_names
Properties named after Python keywords should not crash.
tests/utilities/json_schema_type/test_json_schema_type.py:406
Methodtest_python_objects_are_accepted_when_called_directly
(self)
tests/server/test_input_validation.py:305
Methodtest_python_objects_are_not_round_tripped_through_json
(self)
tests/server/test_input_validation.py:319
Methodtest_python_option
Test --python option for all install commands.
tests/cli/test_install.py:558
Methodtest_python_transports_default_the_child_to_utf8
(self, tmp_path)
tests/client/test_stdio.py:1031
Methodtest_qualified_match
(self, tmp_path: Path)
tests/cli/test_discovery.py:753
Methodtest_qualified_name
(self)
tests/cli/test_discovery.py:67
Methodtest_qualified_name
(self)
tests/cli/test_generate_cli.py:390
Methodtest_qualified_not_found
(self, tmp_path: Path)
tests/cli/test_discovery.py:785
Functiontest_query_array_serialization
( style: str | None, explode: bool | None, expected: list[tuple[str, str]], )
tests/server/providers/openapi/test_query_array_defaults.py:29
Methodtest_query_continuation_block_matches
(self)
tests/resources/test_resource_template_query_params.py:524
Methodtest_query_fragment_is_not_part_of_param
(self)
tests/resources/test_resource_template.py:1077
Methodtest_query_header_collision_handling
Test that query and header parameters with same name are handled correctly.
tests/server/providers/openapi/test_parameter_collisions.py:174
Functiontest_query_only_template_completes_by_its_own_identifier
A template's identifier does not match it as a URI when it only has query parameters, so completion must resolve the template itself.
tests/server/test_completions.py:424
Methodtest_query_param_default_used_when_omitted
(self)
tests/server/providers/proxy/test_proxy_server.py:792
Methodtest_query_param_does_not_clobber_path_param
If path and query have the same normalized name, path wins.
tests/resources/test_resource_template.py:1051
Methodtest_query_param_forwarded
(self)
tests/server/providers/proxy/test_proxy_server.py:779
Methodtest_query_param_with_blank_and_present_values
Mix of blank and non-blank query values are both surfaced.
tests/resources/test_resource_template.py:1159
Methodtest_query_param_with_blank_value_is_preserved
Regression for #4056: blank query values (e.g. ?format=) should not be silently dropped. parse_qs without keep_blank_values=True elide
tests/resources/test_resource_template.py:1060
Methodtest_query_parameters
Test query parameter handling.
tests/server/providers/openapi/test_comprehensive.py:603
Methodtest_query_parameters_in_tools
Test that query parameters are properly included in tool parameters.
tests/server/providers/openapi/test_openapi_features.py:155
Methodtest_query_params_must_be_optional
Test that query parameters must have default values.
tests/resources/test_resource_template_query_params.py:145
Methodtest_query_string_reaches_the_app
(self)
tests/utilities/test_asgi_transport.py:78
Methodtest_query_values_encode_reserved_characters
RFC 6570 query expansion permits only unreserved value characters.
tests/resources/test_resource_template.py:1552
Methodtest_question_mark_encoded
(self, director, path_route)
tests/utilities/openapi/test_director.py:1201
Methodtest_quoted_args
(self)
tests/cli/test_client_commands.py:516
Methodtest_quoted_form
(self, argument: str, expected: str)
tests/cli/test_install_cli_arguments.py:223
Methodtest_quotes_manifest_paths_when_reading_resources
(self, tmp_path: Path)
tests/utilities/test_skills.py:407
Functiontest_raised_generic_error_is_masked_without_ctx_param
A non-FastMCP exception is masked even when the tool takes no `ctx`. Error masking is the server's `_mask_error_details` policy, which the task
tests/tasks/server/test_extension.py:202
Functiontest_raised_tool_error_completes_with_is_error
A tool that RAISES is a completed task with an is_error result, not failed. SEP-2663 reserves `failed` for protocol faults; a raised tool error i
tests/tasks/server/test_extension.py:184
Functiontest_raised_tool_error_completes_with_is_error
A task whose tool raises completes with an is_error result (SEP-2663). `failed` is reserved for protocol faults; a raised tool error is the same
tests/tasks/server/test_task_protocol.py:45
Methodtest_raises_by_default
(self)
tests/utilities/test_async_utils.py:123
Methodtest_raises_if_directory_missing
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:264
Methodtest_raises_if_exists_without_overwrite
( self, skills_server: FastMCP, tmp_path: Path )
tests/utilities/test_skills.py:345
Methodtest_raises_if_main_file_missing
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:268
Methodtest_raises_section_excluded
(self)
tests/utilities/test_docstring_parsing.py:63
Methodtest_raises_section_excluded_no_params
(self)
tests/utilities/test_docstring_parsing.py:305
Methodtest_raises_when_no_proxy_is_configured
No proxy in the environment → refuse rather than fetch unprotected.
tests/server/auth/test_ssrf_protection.py:664
Methodtest_raising_server_does_not_break_chain
If the server raises, verifiers are still tried.
tests/server/auth/test_multi_auth.py:343
Methodtest_raising_verifier_does_not_break_chain
If a verifier raises, the chain continues to the next source.
tests/server/auth/test_multi_auth.py:332
Functiontest_ramp_doubles_from_floor_up_to_advertised_ceiling
Even with an advertised interval, the poll ramps fast then caps at it.
tests/tasks/client/test_poll_interval.py:46
Methodtest_rate_limiting_allows_normal_usage
Test that normal usage patterns are allowed through rate limiting.
tests/server/middleware/test_rate_limiting.py:534
Methodtest_rate_limiting_blocks_rapid_requests
Test that rate limiting blocks rapid successive requests.
tests/server/middleware/test_rate_limiting.py:549
Methodtest_rate_limiting_recovery_over_time
Test that rate limiting allows requests again after time passes.
tests/server/middleware/test_rate_limiting.py:699
Methodtest_rate_limiting_with_concurrent_requests
Test rate limiting behavior with concurrent requests.
tests/server/middleware/test_rate_limiting.py:573
Methodtest_rate_limiting_with_different_operations
Test that rate limiting applies to all types of operations.
tests/server/middleware/test_rate_limiting.py:627
Methodtest_raw_call_override_still_works
(self)
tests/server/middleware/test_message_visibility.py:205
Methodtest_raw_call_tool_result_carries_middleware_edits
(self, edit: str)
tests/tools/tool/test_results.py:185
Methodtest_raw_call_tool_result_is_preserved
(self)
tests/tools/tool/test_results.py:128
Methodtest_raw_call_tool_result_preserves_protocol_fields
(self)
tests/tools/tool/test_results.py:141
Methodtest_raw_call_tool_result_serializes_nested_models_like_the_wire
(self)
tests/tools/tool/test_results.py:165
Functiontest_raw_create_task_result_is_exposed
The raw claimed CreateTaskResult is reachable via the session/handle path.
tests/tasks/client/test_transparent_tasks.py:117
Methodtest_raw_string_rejected_by_validate_redirect_uri
(self)
tests/server/auth/test_redirect_validation.py:673
Methodtest_raw_string_rejects_whatwg_ambiguous_spellings
(self, uri, pattern)
tests/server/auth/test_redirect_validation.py:667
Methodtest_read_binary
Test reading binary data from a FunctionResource.
tests/resources/test_function_resources.py:50
Methodtest_read_binary_file
Test reading a file as binary.
tests/resources/test_file_resources.py:71
Methodtest_read_binary_file
(self)
tests/apps/test_file_upload.py:78
Methodtest_read_cache_invalid_json
Reading invalid JSON returns None.
tests/utilities/test_version_check.py:61
Methodtest_read_cache_no_file
Reading non-existent cache returns None.
tests/utilities/test_version_check.py:36
Methodtest_read_cache_valid
Reading valid cache returns version and timestamp.
tests/utilities/test_version_check.py:46
Methodtest_read_excluded_resource
(self)
tests/server/providers/test_local_provider_resources.py:739
Methodtest_read_included_resource
(self)
tests/server/providers/test_local_provider_resources.py:731
Methodtest_read_json_resource
(self, proxy_server: FastMCPProxy)
tests/server/providers/proxy/test_proxy_server.py:560
Methodtest_read_latin1_with_encoding
FileResource should read non-UTF-8 files when correct encoding is specified.
tests/resources/test_file_resources.py:199
Methodtest_read_main_file
(self, single_skill_dir: Path)
tests/server/providers/test_skills_provider.py:318
Methodtest_read_main_file_with_literal_percent_in_name
A custom main_file_name containing a literal '%' must round-trip through the same encode/decode path as supporting files (#4545).
tests/server/providers/test_skills_provider.py:328
Methodtest_read_main_skill_file
(self, skills_dir: Path)
tests/server/providers/test_skills_provider.py:688
Methodtest_read_manifest
(self, single_skill_dir: Path)
tests/server/providers/test_skills_provider.py:348
Methodtest_read_manifest
(self, skills_dir: Path)
tests/server/providers/test_skills_provider.py:698
Methodtest_read_mime_type_matches_listed_mime_type
resources/templates/list and resources/read must agree.
tests/resources/test_resource_template.py:1612
Methodtest_read_missing_file_raises
(self)
tests/apps/test_file_upload.py:91
← previousnext →12,901–13,000 of 16,098, ranked by callers