MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_tool_with_varkwargs_not_allowed
(self)
tests/tools/tool/test_tool.py:481
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:275
Methodtest_tool_without_auth_is_visible
(self)
tests/server/auth/test_authorization.py:444
Methodtest_tool_without_description
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:387
Methodtest_tool_without_execution_field
Test that Tool without execution returns None.
tests/tools/tool/test_tool.py:687
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
Functiontest_tools_call_does_not_run_list_middleware
()
tests/server/test_mcp_param_schema_cache.py:131
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:416
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:908
Functiontest_tools_without_usable_names_stay_distinct
()
tests/server/providers/openapi/test_default_names.py:42
Functiontest_total_size_requires_nonnegative_value
(total_size: int)
tests/apps/test_file_upload_retention.py:167
Functiontest_total_size_spans_scopes
()
tests/apps/test_file_upload_retention.py:49
Functiontest_total_size_uses_payload_sizes
()
tests/apps/test_file_upload_retention.py:31
Methodtest_trace_context_propagation
Server span should be a child of client span via trace context propagation.
tests/client/telemetry/test_client_tracing.py:295
Methodtest_traceparent_reaches_backend
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_provider_tracing.py:171
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:399
Methodtest_trailing_dotdot_rejected
(self)
tests/server/auth/test_redirect_validation.py:528
Methodtest_trailing_slashes_are_ignored
( self, monkeypatch: pytest.MonkeyPatch, registry: str )
tests/cli/test_apps_dev_server.py:812
Methodtest_trailing_underscore
(self)
tests/cli/test_generate_cli.py:772
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_added_after_registration_keeps_unrelated_reads
()
tests/skills/test_extension.py:436
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:699
Functiontest_transform_args_creates_duplicate_names
Test that transform_args creating duplicate parameter names raises ValueError.
tests/tools/tool_transform/test_tool_transform.py:684
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:923
Functiontest_transform_args_validation_unknown_arg
Test that transform_args with unknown arguments raises ValueError.
tests/tools/tool_transform/test_tool_transform.py:672
Functiontest_transform_args_with_parent_defaults
Test that transform_args with parent defaults works.
tests/tools/tool_transform/test_tool_transform.py:655
Methodtest_transform_chained_output_schema_inheritance
Test output schema inheritance through multiple transformations.
tests/tools/tool_transform/test_schemas.py:285
Methodtest_transform_custom_function_explicit_overrides
Test that explicit output_schema overrides both custom function and parent.
tests/tools/tool_transform/test_schemas.py:242
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:229
Methodtest_transform_custom_function_object_return
Test custom function returning object type.
tests/tools/tool_transform/test_schemas.py:256
Methodtest_transform_custom_function_runtime
Test runtime behavior with custom function that has inferred schema.
tests/tools/tool_transform/test_schemas.py:215
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:480
Functiontest_transform_does_not_add_task_support
A tool without task support stays forbidden after a transform.
tests/tools/tool_transform/test_task_config.py:82
Methodtest_transform_error_classifies_subclasses
Subclasses of a mapped exception get that exception's code.
tests/server/middleware/test_error_handling.py:139
Methodtest_transform_error_disabled
Test error transformation when disabled.
tests/server/middleware/test_error_handling.py:119
Methodtest_transform_error_generic
Test transforming generic error.
tests/server/middleware/test_error_handling.py:210
Methodtest_transform_error_mcp_error
Test that MCP errors are not transformed.
tests/server/middleware/test_error_handling.py:109
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:174
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:158
Methodtest_transform_error_permission_error
Test transforming PermissionError.
tests/server/middleware/test_error_handling.py:188
Methodtest_transform_error_timeout_error
Test transforming TimeoutError.
tests/server/middleware/test_error_handling.py:199
Methodtest_transform_error_value_error
Test transforming ValueError.
tests/server/middleware/test_error_handling.py:128
Methodtest_transform_explicit_schema_runtime
Test runtime behavior with explicit output schema.
tests/tools/tool_transform/test_schemas.py:100
Functiontest_transform_fn_async_generator_yields_values
An async generator transform_fn's yielded values reach the client. Async generator functions are not coroutine functions, so without material
tests/tools/tool_transform/test_tool_transform.py:1046
Functiontest_transform_fn_blocking_sync_generator_does_not_stall_event_loop
A blocking sync generator transform_fn body runs on a worker thread. A generator body runs during iteration, not creation, so materializing it
tests/tools/tool_transform/test_tool_transform.py:1073
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:847
Functiontest_transform_fn_current_context_default_is_resolved
`ctx: Context = CurrentContext()` resolves to a Context, not the marker (#5368).
tests/tools/tool_transform/test_tool_transform.py:970
Functiontest_transform_fn_depends_is_resolved
A transform_fn's `Depends()` parameter is resolved at call time (#5368).
tests/tools/tool_transform/test_tool_transform.py:991
Functiontest_transform_fn_empty_generators
Empty generators are materialized to empty lists (#5668).
tests/tools/tool_transform/test_tool_transform.py:1163
Functiontest_transform_fn_generators_are_materialized
Generator transform_fn bodies are consumed like plain tool bodies (#5668).
tests/tools/tool_transform/test_tool_transform.py:1131
Functiontest_transform_fn_generators_with_context_injection
Generator transform_fn with context injection still materializes (#5668).
tests/tools/tool_transform/test_tool_transform.py:1195
Functiontest_transform_fn_injected_context_is_resolved
A transform_fn's `ctx: Context` is injected at call time (#5368).
tests/tools/tool_transform/test_tool_transform.py:945
Functiontest_transform_fn_reannotation_preserves_parent_validation_keywords
transform_fn re-annotations must keep parent validation when the type kind is unchanged.
tests/tools/tool_transform/test_tool_transform.py:453
Methodtest_transform_fn_result_kept_for_properties_only_schema
A transform_fn's ToolResult is returned unchanged when the explicit output schema is an object without a top-level "type": "object" key
tests/tools/tool_transform/test_schemas.py:136
Methodtest_transform_fn_result_kept_for_root_ref_schema
A transform_fn's ToolResult is returned unchanged when the explicit output schema is an object via a root-level $ref, matching is_obje
tests/tools/tool_transform/test_schemas.py:165
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:800
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_sync_generator_yields_values
A sync generator transform_fn's yielded values reach the client. A generator body runs during iteration, not creation. FunctionTool materiali
tests/tools/tool_transform/test_tool_transform.py:1018
Functiontest_transform_fn_type_replaces_forwarded_parent_schema
Regression for #5369: transform_fn signatures must not inherit parent type keywords.
tests/tools/tool_transform/test_tool_transform.py:403
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:820
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_task_config
A pure rename preserves the parent's task mode.
tests/tools/tool_transform/test_task_config.py:39
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:754
Methodtest_transform_layer_duplicate_target_name_raises_error
Test that ToolTransform with duplicate target names raises ValueError.
tests/server/providers/test_local_provider.py:799
Methodtest_transform_layer_get_tool
Test that ToolTransform.get_tool works correctly.
tests/server/providers/test_local_provider.py:727
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:303
Methodtest_transform_non_object_schema_preserves_error_result
The non-object rebuild keeps is_error and meta from the transform_fn's ToolResult.
tests/tools/tool_transform/test_schemas.py:111
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:349
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:331
Methodtest_transform_output_schema_with_tool_result_return
Test transform when custom function returns ToolResult directly.
tests/tools/tool_transform/test_schemas.py:373
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:313
Functiontest_transform_preserves_explicit_execution_without_task_support
`execution` is threaded separately from `task_config`. `to_mcp_tool()` only derives `execution` from `task_config` when the tool has no expli
tests/tools/tool_transform/test_task_config.py:60
← previousnext →14,901–15,000 of 15,974, ranked by callers