MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,725 in github.com/PrefectHQ/fastmcp

Methodtest_forward_list_roots_response
Test that the proxy client correctly forwards the `list_roots` response.
tests/server/providers/proxy/test_proxy_client.py:277
Functiontest_forward_outside_context_raises_error
Test that forward() raises error when called outside transform context.
tests/tools/tool_transform/test_tool_transform.py:643
Functiontest_forward_raw_outside_context_raises_error
Test that forward_raw() raises error when called outside transform context.
tests/tools/tool_transform/test_tool_transform.py:649
Functiontest_forward_raw_without_argument_mapping
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:523
Methodtest_forward_sampling_request
Test that the proxy client correctly forwards the `sampling` request.
tests/server/providers/proxy/test_proxy_client.py:287
Methodtest_forward_sampling_request_with_tools
Test that a proxy opted into sampling tools forwards the backend's tools.
tests/server/providers/proxy/test_proxy_client.py:334
Methodtest_forward_sampling_response
Test that the proxy client correctly forwards the `sampling` response.
tests/server/providers/proxy/test_proxy_client.py:324
Methodtest_forward_sampling_response_unchanged
The backend receives the client's sampling result as the client sent it: its model, stop reason and content, not a text-only placehol
tests/server/providers/proxy/test_proxy_client.py:388
Methodtest_forward_sampling_tools_to_client_without_support
Test that forwarded sampling tools fail as they would directly when the client does not support them.
tests/server/providers/proxy/test_proxy_client.py:364
Methodtest_forward_tool_meta
Test that the proxy client correctly forwards the `echo` tool meta.
tests/server/providers/proxy/test_proxy_client.py:244
Methodtest_forward_uri_keeps_literal_when_unresolved
(self)
tests/resources/test_resource_template.py:2054
Methodtest_forward_uri_resolves_sanitized_keys
(self)
tests/resources/test_resource_template.py:2048
Functiontest_forward_with_argument_mapping
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:487
Functiontest_forward_with_incorrect_args_raises_error
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:504
Functiontest_forwarded_metadata_does_not_alias_connected_backend
(mode: str)
tests/server/providers/proxy/test_server_metadata.py:399
Functiontest_forwarded_tool_meta_stays_hop_safe
( front_mode: str, backend_mode: str, backend_is_modern: bool, client_class: type[Client], )
tests/server/providers/proxy/test_proxy_request_meta.py:125
Methodtest_forwards_authorization_server_metadata
( self, valid_oidc_configuration_dict, monkeypatch )
tests/server/auth/providers/test_auth0_mcp.py:239
Functiontest_forwards_backend_logs_while_reading_metadata
()
tests/server/providers/proxy/test_server_metadata.py:253
Functiontest_forwards_backend_skills_without_reading_files
()
tests/server/providers/proxy/test_skills.py:65
Methodtest_forwards_chunks_as_the_app_produces_them
The bridge must stream, not buffer: chunks arrive before the app finishes.
tests/utilities/test_asgi_transport.py:38
Methodtest_forwards_extra_args
Test that extra arguments are forwarded after the module name.
tests/cli/test_run.py:948
Functiontest_forwards_metadata_across_all_protocol_era_combinations
( frontend_mode: str, backend_mode: str )
tests/server/providers/proxy/test_server_metadata.py:177
Methodtest_four_level_nested_tool_invocation
Test invoking tools from servers mounted 4 levels deep.
tests/server/mount/test_advanced.py:358
Methodtest_fragment_after_path_param_and_query
(self)
tests/resources/test_resource_template.py:1084
Methodtest_fragment_does_not_prevent_match
(self)
tests/resources/test_resource_template.py:1070
Methodtest_fragment_only_addition_rejected
The reviewer's repro: a fragment-only addition matched.
tests/server/auth/test_redirect_validation.py:458
Methodtest_fragmentless_uri_still_matches
(self)
tests/server/auth/test_redirect_validation.py:501
Methodtest_frame_domains_reach_resource
(self)
tests/server/providers/test_prefab_synthesis.py:28
Functiontest_frames_reach_the_stream_in_the_order_they_were_received
The SDK queues each notification method separately, so without wire-order routing a heartbeat overtakes the events read just before it, and its cu
tests/experimental/events/test_push_lifecycle.py:383
Functiontest_fresh_cached_session_skips_login
(tmp_path, monkeypatch)
tests/test_triage_floor_feed.py:65
Methodtest_from_app_config_resource_fields_only
(self)
tests/test_apps.py:200
Methodtest_from_app_config_with_tool_fields
(self)
tests/test_apps.py:194
Functiontest_from_config_applies_entry_timeout
( mode: str, timeout: int | None )
tests/client/group/test_client_group.py:587
Functiontest_from_config_applies_mode_per_server
()
tests/client/group/test_client_group.py:100
Functiontest_from_directory_checks_limits_before_reading_files
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, limit: str )
tests/skills/test_skill.py:125
Functiontest_from_directory_rejects_symlinks
(tmp_path: Path)
tests/skills/test_skill.py:149
Functiontest_from_directory_requires_matching_name
(tmp_path: Path)
tests/skills/test_skill.py:117
Functiontest_from_directory_snapshots_exact_bytes
(tmp_path: Path)
tests/skills/test_skill.py:104
Methodtest_from_file
Test loading config from JSON file with nested structure.
tests/cli/test_config.py:285
Methodtest_from_file_preserves_absolute_paths
(self, tmp_path)
tests/cli/test_config.py:383
Methodtest_from_file_resolves_paths_from_config_directory
( self, tmp_path, monkeypatch, source )
tests/cli/test_config.py:357
Methodtest_from_file_with_string_entrypoint
Test loading config with dict source format.
tests/cli/test_config.py:308
Functiontest_from_files_accepts_structured_metadata_and_tool_lists
( caplog: pytest.LogCaptureFixture, )
tests/skills/test_skill.py:75
Functiontest_from_files_requires_valid_frontmatter
()
tests/skills/test_skill.py:68
Methodtest_from_function_preserves_decorator_metadata
Direct from_function calls should respect @tool metadata.
tests/tools/test_standalone_decorator.py:120
Methodtest_from_function_rejects_hyphen_underscore_collision
Two raw param names that normalize to the same key are rejected.
tests/resources/test_resource_template.py:1348
Methodtest_from_openapi_threads_validate_output
FastMCP.from_openapi() correctly passes validate_output to the provider.
tests/server/providers/openapi/test_openapi_features.py:1376
Functiontest_from_package
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/skills/test_skill.py:158
Methodtest_from_required
Test pruning a parameter that's in the required list.
tests/utilities/test_json_schema.py:66
Functiontest_from_tool_accepts_decorated_function
()
tests/tools/tool_transform/test_tool_transform.py:68
Functiontest_from_tool_accepts_plain_function
()
tests/tools/tool_transform/test_tool_transform.py:85
Functiontest_from_tool_decorated_function_preserves_metadata
()
tests/tools/tool_transform/test_tool_transform.py:99
Functiontest_from_tool_decorated_function_runs
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:121
Functiontest_from_tool_decorated_function_via_client
()
tests/tools/tool_transform/test_tool_transform.py:777
Functiontest_from_tool_preserves_icons
()
tests/tools/tool_transform/test_tool_transform.py:109
Functiontest_frontend_values_take_precedence
(frontend_mode: str)
tests/server/providers/proxy/test_server_metadata.py:235
Methodtest_frontmatter
(self)
tests/cli/test_generate_cli.py:820
Functiontest_frontmatter_changes_do_not_leak_into_the_skill
()
tests/skills/test_skill.py:178
Methodtest_frontmatter_colon_in_value_falls_back_preserves_keys
(self)
tests/server/providers/test_skills_provider.py:111
Methodtest_frontmatter_description_bool_recovers_original_text
(self)
tests/server/providers/test_skills_provider.py:170
Methodtest_frontmatter_description_no_not_coerced_to_false
(self)
tests/server/providers/test_skills_provider.py:192
Methodtest_frontmatter_description_numeric_scalar_preserves_original_text
(self)
tests/server/providers/test_skills_provider.py:202
Methodtest_frontmatter_description_yes_not_coerced_to_true
(self)
tests/server/providers/test_skills_provider.py:181
Functiontest_frontmatter_dump_does_not_add_absent_optional_fields
()
tests/skills/test_models.py:119
Methodtest_frontmatter_malformed_falls_back_to_line_parser
(self)
tests/server/providers/test_skills_provider.py:97
Methodtest_frontmatter_multiline_folded_block
(self)
tests/server/providers/test_skills_provider.py:84
Methodtest_frontmatter_multiline_literal_block
(self)
tests/server/providers/test_skills_provider.py:69
Methodtest_frontmatter_non_dict_returns_empty
(self)
tests/server/providers/test_skills_provider.py:126
Functiontest_frontmatter_preserves_allowed_tools_wire_name
()
tests/skills/test_models.py:51
Functiontest_frontmatter_preserves_unknown_json_fields
()
tests/skills/test_models.py:40
Functiontest_frontmatter_rejects_empty_compatibility
()
tests/skills/test_models.py:108
Functiontest_frontmatter_rejects_invalid_known_optional_fields
( field: str, value: object, message: str )
tests/skills/test_models.py:99
Functiontest_frontmatter_rejects_invalid_names
(name: str)
tests/skills/test_models.py:64
Functiontest_frontmatter_rejects_non_finite_extra_values
()
tests/skills/test_models.py:81
Functiontest_frontmatter_rejects_non_json_extra_values
()
tests/skills/test_models.py:74
Functiontest_frontmatter_rejects_whitespace_description
()
tests/skills/test_models.py:69
Methodtest_frontmatter_scalars_are_preserved_as_strings
`SkillInfo.frontmatter` is public; it must not silently retype values. `yaml.BaseLoader` parses block scalars (unlike the old line parser)
tests/server/providers/test_skills_provider.py:138
Methodtest_frontmatter_with_quoted_strings
(self)
tests/server/providers/test_skills_provider.py:57
Methodtest_frontmatter_with_tags_list
(self)
tests/server/providers/test_skills_provider.py:46
Methodtest_frontmatter_with_tools_starts_at_column_zero
(self)
tests/cli/test_generate_cli.py:854
Methodtest_full_app_lifecycle_through_client
End-to-end: mount an app on a namespaced server, call UI tool through a client (verifying structured_content is returned), then call t
tests/test_fastmcp_app.py:922
Methodtest_full_oauth_flow_with_mock_provider
Test complete OAuth flow with mock provider.
tests/server/auth/oauth_proxy/test_e2e.py:23
Methodtest_function_prompt_json_schema_generation
Verify FunctionPrompt.model_json_schema() works without errors.
tests/test_json_schema_generation.py:124
Methodtest_function_resource_creation
Test creating a FunctionResource.
tests/resources/test_function_resources.py:11
Methodtest_function_resource_json_schema_generation
Verify FunctionResource.model_json_schema() works without errors.
tests/test_json_schema_generation.py:76
Methodtest_function_resource_template_json_schema_generation
Verify FunctionResourceTemplate.model_json_schema() works without errors.
tests/test_json_schema_generation.py:99
Functiontest_function_spans_cover_bodies_not_headers
(pbt)
tests/test_pbt_coverage.py:24
Functiontest_function_spans_skip_bodies_that_never_run
(pbt)
tests/test_pbt_coverage.py:42
Methodtest_function_template_create_resource_preserves_all_fields
(self)
tests/resources/test_resource_template_meta.py:53
Methodtest_function_tool_json_schema_generation
Verify FunctionTool.model_json_schema() works without errors.
tests/test_json_schema_generation.py:32
Methodtest_function_tool_task_config_still_works
FunctionTool should still derive execution from task_config.
tests/tools/tool/test_tool.py:712
Methodtest_function_with_keyword_only_ok
(self)
tests/resources/test_resource_template.py:417
Functiontest_function_with_kwargs_can_add_params
Test that function with **kwargs can add new parameters.
tests/tools/tool_transform/test_tool_transform.py:755
Methodtest_function_with_positional_only_not_allowed
(self)
tests/resources/test_resource_template.py:400
Methodtest_function_with_varargs_not_allowed
(self)
tests/resources/test_resource_template.py:386
Methodtest_function_with_varkwargs_ok
(self)
tests/resources/test_resource_template.py:429
Functiontest_function_without_kwargs_can_have_extra_params
Test that function can have extra parameters not in parent tool.
tests/tools/tool_transform/test_tool_transform.py:733
Functiontest_function_without_kwargs_missing_params
Test that function missing required transformed parameters raises ValueError.
tests/tools/tool_transform/test_tool_transform.py:713
Methodtest_functionality_after_optimization
Verify that performance optimization doesn't break functionality.
tests/server/providers/openapi/test_performance_comparison.py:225
Methodtest_future_expiring_client_info_is_stored
(self)
tests/client/auth/test_oauth_client.py:720
← previousnext →10,401–10,500 of 16,725, ranked by callers