MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,098 in github.com/PrefectHQ/fastmcp

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
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
← previousnext →15,001–15,100 of 16,098, ranked by callers