MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_bind_sets_mcp_url
(self)
tests/client/auth/test_oauth_cimd.py:92
Methodtest_binding_at_construction
(self)
tests/client/auth/test_client_credentials.py:140
Functiontest_binding_replaces_factory_depends_default
A binding replaces the factory's own Depends default, which never runs.
tests/server/test_call_arguments.py:80
Methodtest_blocks_access_when_tag_present_without_scope
(self)
tests/server/auth/test_authorization.py:280
Methodtest_blocks_access_when_tag_present_without_token
(self)
tests/server/auth/test_authorization.py:273
Methodtest_bodiless_non_success_response_is_ignored
( self, invitation: ResponseInfo, bodiless_code: str )
tests/utilities/openapi/test_schemas.py:751
Functiontest_bodiless_success_call_succeeds_next_to_json_success
()
tests/server/providers/openapi/test_bodiless_success_responses.py:99
Functiontest_bodiless_success_response_drops_output_schema
( responses: dict[str, Any], validate_output: bool )
tests/server/providers/openapi/test_bodiless_success_responses.py:88
Methodtest_bodiless_success_response_next_to_json_success
( self, invitation: ResponseInfo, bodiless_code: str )
tests/utilities/openapi/test_schemas.py:735
Methodtest_body_construction_multiple_properties_non_object_schema
Test body construction with multiple properties but non-object schema.
tests/utilities/openapi/test_director.py:398
Methodtest_body_construction_scalar_raw_body
A numeric or boolean body for a non-JSON media type is sent as text.
tests/utilities/openapi/test_director.py:376
Methodtest_body_construction_single_value
Test body construction when body schema is not an object.
tests/utilities/openapi/test_director.py:342
Functiontest_body_names_preserve_required_query_parameters
( body_schema: dict[str, Any] | None, param_name: str, body_name: str | None )
tests/utilities/openapi/test_schemas.py:58
Methodtest_body_only_no_parameters
Test schema generation with only request body, no parameters.
tests/utilities/openapi/test_legacy_compatibility.py:198
Methodtest_body_raised_timeout_error_is_not_reported_as_deadline
A TimeoutError raised by the tool body itself (e.g. socket.timeout) must surface as the tool's own error, not as the deadline firing.
tests/tools/test_tool_timeout.py:236
Methodtest_body_timeout_over_protocol
(self, mode)
tests/tools/test_tool_timeout.py:266
Functiontest_body_typed_by_read_only_component_stays_an_argument
()
tests/server/providers/openapi/test_read_only_requests.py:143
Methodtest_bool_coercion
Test boolean type coercion for query parameters.
tests/resources/test_resource_template_query_params.py:83
Methodtest_boolean_accepts_boolean
(self, simple_boolean)
tests/utilities/json_schema_type/test_json_schema_type.py:89
Methodtest_boolean_accepts_boolean_strings
(self, simple_boolean)
tests/utilities/json_schema_type/test_json_schema_type.py:94
Methodtest_boolean_coercion
Test boolean value coercion.
tests/server/test_input_validation.py:501
Methodtest_boolean_const_invalid
(self, boolean_const)
tests/utilities/json_schema_type/test_advanced.py:805
Methodtest_boolean_const_valid
(self, boolean_const)
tests/utilities/json_schema_type/test_advanced.py:801
Methodtest_boolean_default_preserved
Test that boolean defaults are preserved in the schema.
tests/client/test_elicitation_enums.py:545
Methodtest_boolean_exclusive_bound_without_sibling_constrains_nothing
(self)
tests/utilities/json_schema_type/test_constraints.py:179
Functiontest_boolean_exclusive_bounds_are_converted
( schema: dict[str, Any], expected: dict[str, Any] )
tests/utilities/openapi/test_exclusive_bounds.py:46
Methodtest_boolean_exclusive_maximum_excludes_sibling
(self)
tests/utilities/json_schema_type/test_constraints.py:139
Methodtest_boolean_exclusive_minimum_excludes_sibling
(self)
tests/utilities/json_schema_type/test_constraints.py:154
Methodtest_boolean_falls_through_numeric_const_in_union
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:338
Methodtest_boolean_false_keeps_sibling_inclusive
(self)
tests/utilities/json_schema_type/test_constraints.py:169
Methodtest_boolean_false_variants
(self)
tests/cli/test_client_commands.py:71
Methodtest_boolean_invalid
(self)
tests/cli/test_client_commands.py:75
Methodtest_boolean_param_no_value_placeholder
(self)
tests/cli/test_generate_cli.py:956
Methodtest_boolean_rejects_invalid_string
(self, simple_boolean)
tests/utilities/json_schema_type/test_json_schema_type.py:101
Methodtest_boolean_result_schema_accepts_any_value
(self)
tests/client/test_result_hydration.py:271
Methodtest_boolean_schema_false
Boolean schema False should return an unsatisfiable type.
tests/utilities/json_schema_type/test_json_schema_type.py:370
Methodtest_boolean_schema_in_object_with_additional_properties
Boolean property schemas work alongside additionalProperties=True.
tests/utilities/json_schema_type/test_json_schema_type.py:147
Methodtest_boolean_schema_true
Boolean schema True should return Any (JSON Schema draft-06+).
tests/utilities/json_schema_type/test_json_schema_type.py:366
Methodtest_boolean_true_variants
(self)
tests/cli/test_client_commands.py:67
Functiontest_bot_and_author_are_not_maintainer_response
(triage, monkeypatch)
tests/test_public_triage.py:107
Functiontest_bot_authored_generated_entry_is_parsed_without_crediting_bot
( monkeypatch: pytest.MonkeyPatch, )
tests/scripts/test_release_contributor_credit.py:177
Methodtest_both_data_and_path_raises_error
Test that error is raised when both path and data are provided.
tests/utilities/test_types.py:189
Methodtest_both_data_and_path_raises_error
Test that error is raised when both path and data are provided.
tests/utilities/test_types.py:328
Methodtest_both_data_and_path_raises_error
Test that error is raised when both path and data are provided.
tests/utilities/test_types.py:516
Methodtest_both_result_and_content_meta
Both result-level and content-level meta are propagated.
tests/resources/test_resources.py:344
Methodtest_bound_host_name_is_case_insensitive
(self)
tests/cli/test_apps_dev_server.py:289
Methodtest_bound_method_roots_handler
(self, fastmcp_server: FastMCP)
tests/client/test_roots.py:71
Functiontest_bound_server_accessible_after_registration
()
tests/server/test_extensions.py:531
Methodtest_bound_when_mcp_url_provided
(self)
tests/client/auth/test_oauth_cimd.py:46
Functiontest_bounded_queue_keeps_counts_and_does_not_export_bodies
(triage, monkeypatch)
tests/test_public_triage.py:169
Methodtest_broken_ref_error
Test that broken internal references are handled gracefully.
tests/utilities/openapi/test_parser.py:464
Functiontest_browser_failure_does_not_stop_remote_login
()
tests/cli/deploy/test_authentication.py:153
Methodtest_build_basic_request
Test building a basic GET request with path parameter.
tests/utilities/openapi/test_director.py:164
Functiontest_build_client_opts_into_skills
()
tests/cli/test_list_skills.py:66
Methodtest_build_complex_request
Test building a complex request with multiple parameter types.
tests/utilities/openapi/test_director.py:176
Methodtest_build_regex_compiles_non_identifier_group_names
(self)
tests/resources/test_resource_template.py:1992
Methodtest_build_regex_handles_all_digit_names
(self)
tests/resources/test_resource_template.py:823
Methodtest_build_regex_normalizes_hyphens
Hyphens in param names produce valid regex with underscored groups.
tests/resources/test_resource_template.py:830
Methodtest_build_regex_normalizes_wildcard_hyphens
Wildcard params with hyphens also get underscored groups.
tests/resources/test_resource_template.py:1038
Methodtest_build_regex_returns_none_for_duplicate_group_names
(self)
tests/resources/test_resource_template.py:983
Methodtest_build_regex_sanitizes_leading_digit_group_names
A leading digit is not a valid regex group name, so it is prefixed with an underscore instead of disabling the whole template (#6150).
tests/resources/test_resource_template.py:814
Methodtest_build_regex_still_works_for_valid_templates
(self)
tests/resources/test_resource_template.py:1361
Methodtest_build_request_fallback_mapping
Test fallback parameter mapping when parameter_map is not available.
tests/utilities/openapi/test_director.py:245
Methodtest_build_request_suffixed_parameters
Test handling of suffixed parameters in fallback mode.
tests/utilities/openapi/test_director.py:272
Methodtest_build_request_with_collisions
Test building request with parameter name collisions.
tests/utilities/openapi/test_director.py:204
Methodtest_build_request_with_none_values
Test that None values are skipped for optional parameters.
tests/utilities/openapi/test_director.py:222
Methodtest_build_uv_run_command
Test build_uv_run_command() method.
tests/cli/test_config.py:96
Methodtest_build_uv_run_command_basic
Test building basic uv command with no environment config.
tests/utilities/test_cli.py:12
Methodtest_build_uv_run_command_project_with_extras
Test that project flag works with additional dependencies.
tests/utilities/test_cli.py:133
Methodtest_build_uv_run_command_with_editable
Test building uv command with editable package.
tests/utilities/test_cli.py:20
Methodtest_build_uv_run_command_with_everything
Test building uv command with all options.
tests/utilities/test_cli.py:100
Methodtest_build_uv_run_command_with_packages
Test building uv command with additional packages.
tests/utilities/test_cli.py:36
Methodtest_build_uv_run_command_with_project
Test building uv command with project directory.
tests/utilities/test_cli.py:84
Methodtest_build_uv_run_command_with_python_version
Test building uv command with Python version.
tests/utilities/test_cli.py:53
Methodtest_build_uv_run_command_with_requirements
Test building uv command with requirements file.
tests/utilities/test_cli.py:68
Methodtest_building_a_proxy_client_does_not_reconfigure_a_shared_transport
(self)
tests/server/providers/proxy/test_proxy_server.py:1410
Methodtest_builds_script_arguments
( self, tmp_path: Path, args: list[str] | None, expected_tail: list[str] )
tests/client/test_stdio.py:1052
Functiontest_builtin_dependencies_provide_values_as_annotations
()
tests/server/test_annotated_dependencies.py:83
Functiontest_builtin_read_preserves_public_metadata
( tmp_path: Path, httpx_mock: HTTPXMock, kind: str, metadata: str )
tests/resources/test_builtin_resource_meta.py:17
Functiontest_bulk_results_preserve_structured_content
( live_server_with_tool: FastMCP, bulk_tool: str, bulk_arguments: dict[str, Any], )
tests/contrib/test_bulk_tool_caller.py:396
Functiontest_bundled_extension_serves_capability_and_method
(construction: str)
tests/server/test_provider_extensions.py:116
Methodtest_burst_capacity_below_one_is_deprecated
Values below 1 warn but keep their 4.x behavior until FastMCP 5 (#5292).
tests/server/middleware/test_rate_limiting.py:225
Methodtest_burst_of_requests_fetches_upstream_once
(self, provider)
tests/server/auth/providers/test_metadata_forwarding_cache.py:74
Methodtest_bypass_skips_cache
`cache_mode="bypass"` always reaches the server.
tests/client/client/test_response_cache.py:99
Methodtest_byte_and_entry_limits_truncate_large_bodies
(self)
tests/cli/test_apps_dev_server.py:60
Methodtest_bytes
(self, tmp_path: Path)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:62
Methodtest_bytes_content
Bytes input creates binary content with octet-stream mime type.
tests/resources/test_resources.py:132
Methodtest_cache_config_custom
(self)
tests/client/client/test_response_cache.py:59
Methodtest_cache_disabled_by_default
Caching is disabled by default.
tests/server/auth/providers/test_google.py:611
Methodtest_cache_disabled_by_default
(self)
tests/server/auth/providers/test_github.py:190
Methodtest_cache_disabled_makes_every_call
When cache is disabled (default), every call queries Google endpoints.
tests/server/auth/providers/test_google.py:649
Methodtest_cache_disabled_makes_every_call
(self)
tests/server/auth/providers/test_github.py:221
Methodtest_cache_disabled_makes_every_call
Test that with caching disabled, every call makes a request.
tests/server/auth/providers/test_introspection.py:730
Methodtest_cache_disabled_with_zero_max_size
Test that cache is disabled when max_cache_size is 0.
tests/server/auth/providers/test_introspection.py:594
Methodtest_cache_disabled_with_zero_ttl
Test that cache is disabled when TTL is 0 or None.
tests/server/auth/providers/test_introspection.py:574
Methodtest_cache_enabled_with_ttl
Providing cache_ttl_seconds enables the internal TokenCache.
tests/server/auth/providers/test_google.py:616
Methodtest_cache_enabled_with_ttl
(self)
tests/server/auth/providers/test_github.py:194
Methodtest_cache_eviction_at_max_size
Test that cache evicts entries when max size is reached.
tests/server/auth/providers/test_introspection.py:924
Methodtest_cache_expires_after_ttl
After TTL expires, _get_tool should re-fetch from the backend.
tests/server/providers/proxy/test_proxy_server.py:1116
Methodtest_cache_false_disables
(self)
tests/client/client/test_response_cache.py:55
← previousnext →7,801–7,900 of 15,974, ranked by callers