MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodtest_tool_with_varargs_not_allowed
(self)
tests/tools/tool/test_tool.py:356
Methodtest_tool_with_varkwargs_not_allowed
(self)
tests/tools/tool/test_tool.py:392
Methodtest_tool_with_version
Tool version should be reflected in key.
tests/server/versioning/test_versioning.py:194
Methodtest_tool_without_app_has_no_ui_meta
(self)
tests/test_apps.py:274
Methodtest_tool_without_auth_is_visible
(self)
tests/server/auth/test_authorization.py:427
Methodtest_tool_without_description
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:384
Methodtest_tool_without_execution_field
Test that Tool without execution returns None.
tests/tools/tool/test_tool.py:598
Methodtest_tool_without_icons
Test that tools work without icons.
tests/server/test_icons.py:91
Methodtest_tool_without_parens
@tool without parentheses should attach metadata.
tests/tools/test_standalone_decorator.py:46
Methodtest_tool_without_title
Test that tools without an explicit title derive one from the name. Some MCP clients (e.g. ChatGPT) drop tools with no `title` rather
tests/tools/tool/test_title.py:39
Methodtest_tool_without_version
Tool without version should have @ sentinel in key but empty version.
tests/server/versioning/test_versioning.py:208
Functiontest_toolerror_propagates_from_dependency
ToolError raised in a dependency should propagate unchanged (issue #2633). When a dependency raises ToolError, it should not be wrapped in Runtim
tests/server/test_dependencies.py:709
Methodtest_tools_below_fit_threshold_are_dropped
(self)
tests/experimental/transforms/test_jev_search.py:180
Methodtest_tools_constant_cursor_terminates
list_tools should stop if the server always returns the same cursor.
tests/server/test_pagination.py:402
Methodtest_tools_follow_empty_cursor_over_mcp_session
(self)
tests/server/test_pagination.py:252
Methodtest_tools_list_carries_hint
(self)
tests/server/test_cache_hints.py:76
Methodtest_tools_list_includes_app_meta
(self)
tests/test_apps_prefab.py:417
Methodtest_tools_pagination_returns_all_tools
Client should receive all tools across paginated requests.
tests/server/test_pagination.py:236
Methodtest_tools_raises_on_auto_pagination_limit
list_tools should raise RuntimeError after exceeding max_pages.
tests/server/test_pagination.py:556
Methodtest_tools_update_without_restart
Test that tools can be updated dynamically.
tests/server/test_providers.py:321
Methodtest_tools_visible_via_server_get_tools
Test that provider tools are visible via server.list_tools().
tests/server/providers/test_local_provider.py:799
Methodtest_trace_context_propagation
Server span should be a child of client span via trace context propagation.
tests/client/telemetry/test_client_tracing.py:293
Methodtest_traceparent_reaches_backend
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_provider_tracing.py:170
Methodtest_tracer_uses_instrumentation_name
( self, trace_exporter: InMemorySpanExporter )
tests/telemetry/test_module.py:19
Methodtest_trailing_colon
(self)
tests/cli/test_generate_cli.py:402
Methodtest_trailing_dotdot_rejected
(self)
tests/server/auth/test_redirect_validation.py:468
Methodtest_trailing_underscore
(self)
tests/cli/test_generate_cli.py:713
Methodtest_transaction_persists_after_retrieval
Verify transaction can be retrieved multiple times (until deleted).
tests/server/auth/test_oauth_consent_flow.py:834
Methodtest_transaction_stored_in_storage_not_memory
Verify OAuth transactions are stored in AsyncKeyValue, not in-memory dict.
tests/server/auth/test_oauth_consent_flow.py:222
Functiontest_transform_adds_description_to_none
Test that transformed tools can add description when parent has None.
tests/tools/tool_transform/test_metadata.py:107
Functiontest_transform_adds_meta_to_none
Test that transformed tools can add meta when parent has None.
tests/tools/tool_transform/test_metadata.py:142
Functiontest_transform_adds_title_to_none
Test that transformed tools can add title when parent has None.
tests/tools/tool_transform/test_metadata.py:77
Functiontest_transform_args_collision_with_passthrough_name
Test that renaming to a passthrough parameter name raises ValueError.
tests/tools/tool_transform/test_tool_transform.py:579
Functiontest_transform_args_creates_duplicate_names
Test that transform_args creating duplicate parameter names raises ValueError.
tests/tools/tool_transform/test_tool_transform.py:564
Functiontest_transform_args_do_not_mutate_parent_schema
Mutating a transformed tool's schema must not corrupt the parent's schema.
tests/tools/tool_transform/test_tool_transform.py:803
Functiontest_transform_args_validation_unknown_arg
Test that transform_args with unknown arguments raises ValueError.
tests/tools/tool_transform/test_tool_transform.py:552
Functiontest_transform_args_with_parent_defaults
Test that transform_args with parent defaults works.
tests/tools/tool_transform/test_tool_transform.py:535
Methodtest_transform_chained_output_schema_inheritance
Test output schema inheritance through multiple transformations.
tests/tools/tool_transform/test_schemas.py:200
Methodtest_transform_custom_function_explicit_overrides
Test that explicit output_schema overrides both custom function and parent.
tests/tools/tool_transform/test_schemas.py:157
Methodtest_transform_custom_function_fallback_to_parent
Test that custom function without output annotation falls back to parent.
tests/tools/tool_transform/test_schemas.py:144
Methodtest_transform_custom_function_object_return
Test custom function returning object type.
tests/tools/tool_transform/test_schemas.py:171
Methodtest_transform_custom_function_runtime
Test runtime behavior with custom function that has inferred schema.
tests/tools/tool_transform/test_schemas.py:130
Methodtest_transform_disabled_tool
Tests that a transformed tool can run even if the parent tool is disabled via server.
tests/tools/tool_transform/test_args.py:403
Methodtest_transform_error_disabled
Test error transformation when disabled.
tests/server/middleware/test_error_handling.py:116
Methodtest_transform_error_generic
Test transforming generic error.
tests/server/middleware/test_error_handling.py:188
Methodtest_transform_error_mcp_error
Test that MCP errors are not transformed.
tests/server/middleware/test_error_handling.py:106
Methodtest_transform_error_not_found_for_non_resource_method
Test that not-found errors use -32001 for non-resource methods.
tests/server/middleware/test_error_handling.py:152
Methodtest_transform_error_not_found_for_resource_method
Test that not-found errors use -32002 for resource methods.
tests/server/middleware/test_error_handling.py:136
Methodtest_transform_error_permission_error
Test transforming PermissionError.
tests/server/middleware/test_error_handling.py:166
Methodtest_transform_error_timeout_error
Test transforming TimeoutError.
tests/server/middleware/test_error_handling.py:177
Methodtest_transform_error_value_error
Test transforming ValueError.
tests/server/middleware/test_error_handling.py:125
Methodtest_transform_explicit_schema_runtime
Test runtime behavior with explicit output schema.
tests/tools/tool_transform/test_schemas.py:100
Functiontest_transform_fn_configured_dataclass_respects_serialize_by_alias
A transform uses its return annotation for nested dataclass serialization.
tests/tools/tool_transform/test_tool_transform.py:727
Functiontest_transform_fn_result_respects_serialize_by_alias
A model returned by a transform_fn honors serialize_by_alias when no schema.
tests/tools/tool_transform/test_tool_transform.py:680
Methodtest_transform_fn_returning_raw_ask_is_wrapped
A custom transform_fn that returns a raw InputRequiredResult (not a pre-wrapped InputRequiredToolResult) must still emit the ask — the
tests/server/test_mrtr_guards.py:296
Functiontest_transform_fn_wrapped_result_respects_serialize_by_alias
A wrapped transform result serializes the inner model before nesting. Optional model returns get a wrap-result schema; the inner model must be
tests/tools/tool_transform/test_tool_transform.py:700
Functiontest_transform_inherits_description
Test that transformed tools inherit description when none specified.
tests/tools/tool_transform/test_metadata.py:83
Functiontest_transform_inherits_meta
Test that transformed tools inherit meta when none specified.
tests/tools/tool_transform/test_metadata.py:114
Functiontest_transform_inherits_none_description
Test that transformed tools inherit None description.
tests/tools/tool_transform/test_metadata.py:101
Functiontest_transform_inherits_none_meta
Test that transformed tools inherit None meta.
tests/tools/tool_transform/test_metadata.py:135
Functiontest_transform_inherits_none_title
Test that transformed tools inherit None title.
tests/tools/tool_transform/test_metadata.py:71
Methodtest_transform_inherits_parent_output_schema
Test that transformed tool inherits parent's output schema by default.
tests/tools/tool_transform/test_schemas.py:54
Functiontest_transform_inherits_title
Test that transformed tools inherit title when none specified.
tests/tools/tool_transform/test_metadata.py:53
Methodtest_transform_layer_description_change
Test that ToolTransform can change description.
tests/server/providers/test_local_provider.py:645
Methodtest_transform_layer_duplicate_target_name_raises_error
Test that ToolTransform with duplicate target names raises ValueError.
tests/server/providers/test_local_provider.py:690
Methodtest_transform_layer_get_tool
Test that ToolTransform.get_tool works correctly.
tests/server/providers/test_local_provider.py:618
Methodtest_transform_layer_get_tool
Test that renamed tools can be looked up by new name.
tests/server/providers/test_transforming_provider.py:159
Methodtest_transform_mixed_structured_unstructured_content
Test transformation handling of mixed content types.
tests/tools/tool_transform/test_schemas.py:218
Methodtest_transform_output_schema_default_vs_none
Test default (NotSet) vs explicit None behavior for output_schema in transforms.
tests/tools/tool_transform/test_schemas.py:264
Methodtest_transform_output_schema_none_runtime
Test runtime behavior with output_schema=None.
tests/tools/tool_transform/test_schemas.py:74
Methodtest_transform_output_schema_with_arg_transforms
Test that output schema works correctly with argument transformations.
tests/tools/tool_transform/test_schemas.py:246
Methodtest_transform_output_schema_with_tool_result_return
Test transform when custom function returns ToolResult directly.
tests/tools/tool_transform/test_schemas.py:288
Functiontest_transform_overrides_description
Test that transformed tools can override description.
tests/tools/tool_transform/test_metadata.py:89
Functiontest_transform_overrides_meta
Test that transformed tools can override meta.
tests/tools/tool_transform/test_metadata.py:121
Functiontest_transform_overrides_title
Test that transformed tools can override title.
tests/tools/tool_transform/test_metadata.py:59
Methodtest_transform_passthrough
Test that base Transform passes through unchanged.
tests/server/providers/test_transforming_provider.py:265
Methodtest_transform_preserves_wrap_marker_behavior
Test that wrap marker behavior is preserved through transformation.
tests/tools/tool_transform/test_schemas.py:190
Methodtest_transform_proxy
(self, proxy_server: FastMCP)
tests/tools/tool_transform/test_tool_transform.py:768
Functiontest_transform_sees_other_tools_during_hashed_lookup
( under_maintenance: bool, )
tests/server/test_hashed_tool_dispatch.py:284
Functiontest_transform_sets_description_to_none
Test that transformed tools can explicitly set description to None.
tests/tools/tool_transform/test_metadata.py:95
Functiontest_transform_sets_meta_to_none
Test that transformed tools can explicitly set meta to None.
tests/tools/tool_transform/test_metadata.py:128
Functiontest_transform_sets_title_to_none
Test that transformed tools can explicitly set title to None.
tests/tools/tool_transform/test_metadata.py:65
Methodtest_transform_tool_with_complex_defs_pruning
Test that tool transformation properly handles hidden params. Unused type definitions are pruned from $defs when their corresponding
tests/tools/tool_transform/test_schemas.py:394
Methodtest_transform_with_custom_function_inferred_schema
Test that custom function's output schema is inferred.
tests/tools/tool_transform/test_schemas.py:111
Methodtest_transform_with_custom_function_preserves_needed_types
Test that custom transform functions preserve necessary type definitions.
tests/tools/tool_transform/test_schemas.py:439
Methodtest_transform_with_explicit_output_schema_dict
Test that explicit output schema overrides parent.
tests/tools/tool_transform/test_schemas.py:89
Methodtest_transform_with_explicit_output_schema_none
Test that output_schema=None sets output schema to None.
tests/tools/tool_transform/test_schemas.py:68
Methodtest_transform_with_var_params
Test transform_context_annotations handles *args and **kwargs correctly.
tests/server/test_dependencies_advanced.py:83
Methodtest_transformed_guard_still_asks
(self)
tests/server/test_mrtr_guards.py:272
Methodtest_transformed_tool_filtered_without_token
Transformed tools with auth should be filtered without token.
tests/server/auth/test_authorization.py:869
Functiontest_transformed_tool_filtering
Test that tool transformations add tags that affect filtering.
tests/server/test_tool_transformation.py:32
Methodtest_transformed_tool_json_schema_generation
Verify TransformedTool.model_json_schema() works without errors.
tests/test_json_schema_generation.py:51
Methodtest_transformed_tool_preserves_auth
Transformed tools should inherit auth from parent.
tests/server/auth/test_authorization.py:846
Functiontest_transformed_tool_required_order_is_deterministic
`required` must follow property order, not set iteration order. Set iteration order varies with PYTHONHASHSEED, which broke snapshot tests of
tests/tools/tool_transform/test_tool_transform.py:46
Functiontest_transformed_tool_structured_output_without_annotation
Test that transformed tools generate structured output when original tool has no return annotation. Ref: https://github.com/PrefectHQ/fastmcp/iss
tests/server/test_tool_transformation.py:59
Methodtest_transformed_tool_visible_with_token
Transformed tools with auth should be visible with token.
tests/server/auth/test_authorization.py:888
Methodtest_transforming_single_server_wrapper_is_legacy_only
A single-server config that uses tool transforms or tag filters wraps a legacy-pinned proxy; the wrapper transport must advertise legacy-only
tests/test_mcp_config.py:158
Methodtest_transforms_client_auth_failure_to_invalid_client_401
Test that client authentication failures return invalid_client with 401.
tests/server/auth/oauth_proxy/test_tokens.py:356
Methodtest_transforms_invalid_grant_to_401
Test that invalid_grant errors return 401 per MCP spec. Per MCP spec: "Invalid or expired tokens MUST receive a HTTP 401 response." T
tests/server/auth/oauth_proxy/test_tokens.py:397
Methodtest_transitive_dependencies_in_response_schemas
Transitive dependencies (A→B→C) must all be preserved in response schemas.
tests/utilities/openapi/test_transitive_references.py:60
← previousnext →12,501–12,600 of 13,374, ranked by callers