MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,224 in github.com/PrefectHQ/fastmcp

Methodtest_tool_version_zero_is_truthy
Version 0 should become "0" (truthy string), not empty.
tests/server/versioning/test_versioning.py:235
Methodtest_tool_versions_in_meta
Each version has its own version in metadata.
tests/server/versioning/test_calls.py:97
Methodtest_tool_visible_rejection_before_handler_still_spans
A tool-visible error raised in middleware is returned as an error result (correct MCP semantics, so the span status is unset), but the
tests/server/telemetry/test_server_tracing.py:547
Methodtest_tool_visible_to_model
(self)
tests/apps/test_choice.py:17
Methodtest_tool_visible_to_model
(self)
tests/apps/test_approval.py:26
Methodtest_tool_with_all_metadata
@tool with all metadata should store it all.
tests/tools/test_standalone_decorator.py:95
Methodtest_tool_with_annotated_arguments
Test that tools with annotated arguments work correctly.
tests/server/providers/local_provider_tools/test_decorator.py:227
Methodtest_tool_with_app_roundtrip
App metadata flows through to clients — no server-side stripping.
tests/test_apps.py:528
Methodtest_tool_with_audio_return
(self)
tests/tools/tool/test_tool.py:245
Methodtest_tool_with_auth
(self)
tests/test_fastmcp_app.py:154
Methodtest_tool_with_auth_hidden_without_token
(self)
tests/server/auth/test_authorization.py:455
Methodtest_tool_with_auth_visible_with_token
(self)
tests/server/auth/test_authorization.py:466
Functiontest_tool_with_boolean_exclusive_bound_is_callable
()
tests/utilities/openapi/test_exclusive_bounds.py:76
Methodtest_tool_with_both_name_args_raises
@tool should raise if both positional and keyword name are given.
tests/tools/test_standalone_decorator.py:179
Methodtest_tool_with_bytes_input
(self)
tests/server/providers/local_provider_tools/test_parameters.py:97
Methodtest_tool_with_description
(self)
tests/test_fastmcp_app.py:147
Methodtest_tool_with_empty_parens
@tool() with empty parentheses should attach metadata.
tests/tools/test_standalone_decorator.py:59
Methodtest_tool_with_execution_field
Test that Tool can store and return execution metadata.
tests/tools/tool/test_tool.py:674
Methodtest_tool_with_field_defaults
Test that tools with annotated arguments work correctly.
tests/server/providers/local_provider_tools/test_decorator.py:243
Methodtest_tool_with_file_return
(self)
tests/tools/tool/test_tool.py:256
Methodtest_tool_with_icons
Test that tools can have icons.
tests/server/test_icons.py:57
Methodtest_tool_with_image_return
(self)
tests/tools/tool/test_tool.py:234
Methodtest_tool_with_invalid_input
(self)
tests/server/providers/local_provider_tools/test_parameters.py:111
Methodtest_tool_with_keyword_capable_parameters
(self)
tests/tools/tool/test_tool.py:468
Functiontest_tool_with_logging
Sends log notifications during execution.
tests/conformance/server.py:155
Methodtest_tool_with_name_arg
@tool("name") with name as first arg should work.
tests/tools/test_standalone_decorator.py:71
Methodtest_tool_with_name_kwarg
@tool(name="name") with keyword arg should work.
tests/tools/test_standalone_decorator.py:83
Methodtest_tool_with_output_schema
Test that output_schema is properly extracted and included.
tests/utilities/test_inspect_icons.py:509
Methodtest_tool_with_positional_only_parameters_not_allowed
(self)
tests/tools/tool/test_tool.py:455
Functiontest_tool_with_progress
Reports progress notifications.
tests/conformance/server.py:166
Methodtest_tool_with_scope_auth_hidden_without_scope
(self)
tests/server/auth/test_authorization.py:483
Methodtest_tool_with_scope_auth_visible_with_scope
(self)
tests/server/auth/test_authorization.py:499
Functiontest_tool_with_task
Gathers input over MRTR, then escalates the final round to a task. The composition is the point: round 1 is a plain `InputRequiredResult` wit
tests/conformance/server.py:707
Methodtest_tool_with_timeout
(self)
tests/test_fastmcp_app.py:162
Methodtest_tool_with_title
Test that tools can have titles and they appear in MCP conversion.
tests/tools/tool/test_title.py:14
Methodtest_tool_with_title_and_meta
Test that title (via annotations) and meta arguments are properly passed through.
tests/contrib/test_mcp_mixin.py:277
Methodtest_tool_with_varargs_not_allowed
(self)
tests/tools/tool/test_tool.py:445
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:428
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
← previousnext →15,101–15,200 of 16,224, ranked by callers