MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Functiontest_code_mode_max_tool_calls_default_is_50
()
tests/experimental/transforms/test_code_mode.py:946
Functiontest_code_mode_max_tool_calls_enforced
()
tests/experimental/transforms/test_code_mode.py:950
Functiontest_code_mode_max_tool_calls_none_is_unlimited
()
tests/experimental/transforms/test_code_mode.py:973
Functiontest_code_mode_monty_bare_call_returns_empty
Pins the reported #4263 symptom as a usage error, not a sandbox bug. The report's code called ``call_tool`` bare — ``print(call_tool(...))``
tests/experimental/transforms/test_code_mode.py:836
Functiontest_code_mode_monty_call_tool_errors_are_catchable
Sandbox code can catch call_tool errors and preserve prior work.
tests/experimental/transforms/test_code_mode.py:787
Functiontest_code_mode_monty_execute_call_tool
call_tool resolves and returns through the real Monty sandbox. The reported failure ("empty result") could not be reproduced on a directly-re
tests/experimental/transforms/test_code_mode.py:705
Functiontest_code_mode_monty_execute_chaining
Multiple sequential call_tool() calls chain through the real sandbox.
tests/experimental/transforms/test_code_mode.py:751
Functiontest_code_mode_monty_execute_string_result
A string-returning tool round-trips through the real Monty sandbox.
tests/experimental/transforms/test_code_mode.py:734
Functiontest_code_mode_monty_uncaught_call_tool_error_surfaces
Uncaught backend errors still propagate out of the sandbox.
tests/experimental/transforms/test_code_mode.py:821
Functiontest_code_mode_no_discovery_tools
CodeMode with empty discovery_tools exposes only execute.
tests/experimental/transforms/test_code_mode.py:343
Functiontest_code_mode_rejects_discovery_execute_name_collision
CodeMode raises ValueError when a discovery tool collides with execute.
tests/experimental/transforms/test_code_mode.py:461
Functiontest_code_mode_rejects_duplicate_discovery_names
CodeMode raises ValueError when discovery tools have duplicate names.
tests/experimental/transforms/test_code_mode.py:471
Methodtest_code_mode_returns_task_tool_result
(self)
tests/tasks/server/test_task_catalog_transforms.py:132
Functiontest_code_mode_sandbox_error_surfaces_as_tool_error
()
tests/experimental/transforms/test_code_mode.py:680
Functiontest_code_mode_search_detailed
Search with detail='detailed' returns markdown with parameter info.
tests/experimental/transforms/test_code_mode.py:396
Functiontest_code_mode_search_respects_disabled_tool_visibility
()
tests/experimental/transforms/test_code_mode.py:502
Functiontest_code_mode_search_respects_tool_auth
()
tests/experimental/transforms/test_code_mode.py:559
Functiontest_code_mode_search_returns_lightweight_results
Default search returns tool names and descriptions, not full schemas.
tests/experimental/transforms/test_code_mode.py:122
Functiontest_code_mode_search_tool_full_detail
Search with detail='full' includes JSON schemas.
tests/experimental/transforms/test_code_mode.py:415
Functiontest_code_mode_shadows_colliding_tool_names
Backend tools with the same name as meta-tools are shadowed.
tests/experimental/transforms/test_code_mode.py:574
Functiontest_code_mode_validation_error_names_valid_parameters
A bad-argument failure names the caller's tool and its parameters.
tests/experimental/transforms/test_code_mode.py:1065
Methodtest_codex_scans_both_paths
Test that CodexSkillsProvider scans both system and user paths.
tests/server/providers/test_skills_vendor_providers.py:132
Methodtest_codex_skills_provider_paths
Test CodexSkillsProvider uses both system and user paths.
tests/server/providers/test_skills_vendor_providers.py:36
Methodtest_coerce_task_arguments_constraint_violation
(self)
tests/tools/tool/test_argument_validation.py:106
Methodtest_coerce_task_arguments_wrong_type
(self)
tests/tools/tool/test_argument_validation.py:96
Methodtest_coercion_error_exits
(self)
tests/cli/test_client_commands.py:146
Functiontest_cold_cache_budget_limits_attempts_even_when_calls_fail
( ranking_module, tmp_path, fails )
tests/test_issue_ranking.py:152
Methodtest_collapsed_catalog_over_a_proxy
The collapsed-catalog fallback has to survive a backend that renamed its app tools. Nothing named `save` was ever listed across the wi
tests/server/providers/test_prefab_roundtrip.py:402
Methodtest_collect_returns_structured_content
(self)
tests/apps/test_form.py:30
Functiontest_colliding_argument_never_reaches_call_argument
A caller-supplied value for a dependency parameter name is stripped. A CallArgument that references the dependency parameter resolves the dep
tests/server/test_call_arguments.py:164
Methodtest_collision_handling
Test that parameter collision handling works correctly.
tests/server/providers/openapi/test_end_to_end_compatibility.py:128
Methodtest_collision_resolution_maintains_functionality
Test that collision resolution doesn't break basic tool functionality.
tests/server/providers/openapi/test_parameter_collisions.py:204
Methodtest_combine_lifespans_empty
Test combining zero lifespans.
tests/server/test_server_lifespan.py:500
Methodtest_combine_lifespans_fastapi_style
Test combining lifespans that yield None (FastAPI-style).
tests/server/test_server_lifespan.py:346
Methodtest_combine_lifespans_fastmcp_style
Test combining lifespans that yield dicts (FastMCP-style).
tests/server/test_server_lifespan.py:375
Methodtest_combine_lifespans_mixed_styles
Test combining FastAPI-style (yield None) and FastMCP-style (yield dict).
tests/server/test_server_lifespan.py:403
Methodtest_combine_lifespans_result_merge_later_wins
Test that later lifespans overwrite earlier ones on key conflict.
tests/server/test_server_lifespan.py:437
Methodtest_combine_lifespans_three
Test combining three lifespans.
tests/server/test_server_lifespan.py:457
Methodtest_combine_lifespans_with_mapping_return_type
Test combining lifespans that return Mapping (like Starlette's Lifespan). This verifies that combine_lifespans accepts lifespans returning Ma
tests/server/test_server_lifespan.py:507
Methodtest_combine_schemas_and_map_params_complex
Test parameter mapping for complex route.
tests/utilities/openapi/test_schemas.py:279
Methodtest_combine_schemas_and_map_params_simple
Test combining schemas and creating parameter map.
tests/utilities/openapi/test_schemas.py:239
Methodtest_combine_schemas_and_map_params_with_collisions
Test parameter mapping with collisions.
tests/utilities/openapi/test_schemas.py:253
Methodtest_combine_schemas_complex
Test combining schemas for complex route.
tests/utilities/openapi/test_schemas.py:213
Methodtest_combine_schemas_simple
Test combining schemas for a simple route.
tests/utilities/openapi/test_schemas.py:184
Methodtest_combine_schemas_with_collisions
Test combining schemas with parameter name collisions.
tests/utilities/openapi/test_schemas.py:198
Methodtest_combined_error_handling_and_retry_middleware
Test error handling and retry middleware working together.
tests/server/middleware/test_error_handling.py:629
Methodtest_combined_operations
Test all pruning operations together.
tests/utilities/test_json_schema.py:519
Methodtest_combines_sources
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:572
Methodtest_command_returns_stdio_transport
(self)
tests/cli/test_client_commands.py:279
Methodtest_command_single_word
(self)
tests/cli/test_client_commands.py:285
Methodtest_command_with_path
(self)
tests/cli/test_goose.py:174
Functiontest_common_xss_vectors
Test that common XSS attack vectors are properly escaped.
tests/client/test_oauth_callback_xss.py:123
Methodtest_compare_versions
Test compare_versions function.
tests/server/versioning/test_versioning.py:72
Methodtest_compiles
(self)
tests/cli/test_generate_cli.py:437
Methodtest_compiles_with_stdio_transport
(self)
tests/cli/test_generate_cli.py:530
Methodtest_compiles_with_unusual_names
(self)
tests/cli/test_generate_cli.py:508
Functiontest_complete_parity_both_eras
FastMCP registers no completion handler, so `completion/complete` is method-not-found. The point of this cell is parity: the *same* -32601 sur
tests/server/test_protocol_eras.py:150
Methodtest_completed_flow_final_result_not_served_to_fresh_call
A continuation leg's final result must not enter the cache: its key is built from name+arguments only, identical to a fresh call's — so a
tests/server/test_mrtr_guards.py:999
Methodtest_completes_with_error_and_broad_except_middleware
An ask is a result, not an error, so error-handling middleware and a broad ``except Exception`` are simply irrelevant — `call_next` returns
tests/server/test_mrtr_guards.py:799
Methodtest_completing_a_flow_removes_only_its_own_state
Approve clears the transaction it completed and nothing else.
tests/server/auth/test_oauth_consent_flow.py:768
Methodtest_completing_one_flow_leaves_another_submittable
Approving one transaction must not clear a different pending one. A browser can have two consent flows open — two clients connecting, or
tests/server/auth/test_oauth_consent_flow.py:718
Functiontest_completion_argument_and_context_types_importable
The completion authoring types are importable from mcp_types.
tests/server/test_completions.py:281
Functiontest_completion_context_reaches_handler
The already-supplied argument values arrive as the handler's context.
tests/server/test_completions.py:119
Functiontest_completion_decorator_called_form_registers_handler
`@mcp.completion()` (called) registers the handler too.
tests/server/test_completions.py:225
Functiontest_completion_decorator_registers_handler
`@mcp.completion` (bare) registers the handler and the wire capability.
tests/server/test_completions.py:213
Functiontest_completion_does_not_poison_a_response_cache
A completion must not make a caching layer store a listing that a generic-hook filter never saw (4.0.7 served hidden prompts this way).
tests/server/test_completions.py:290
Methodtest_completion_has_more_bridged
(self)
tests/test_compat.py:93
Functiontest_completion_object_passes_through_pagination_hints
Returning a Completion preserves its total / has_more hints.
tests/server/test_completions.py:146
Functiontest_complex_function_runtime_arg_validation_non_json
Test that basic non-JSON arguments are validated correctly using a simpler function
tests/utilities/test_typeadapter.py:127
Methodtest_complex_json_param
(self)
tests/cli/test_generate_cli.py:825
Methodtest_complex_nested_array
(self)
tests/cli/test_generate_cli.py:73
Methodtest_complex_object
(self)
tests/cli/test_generate_cli.py:68
Methodtest_complex_object_parameter
(self)
tests/cli/test_generate_cli.py:287
Methodtest_complex_request_with_body_and_parameters
Test complex request with both parameters and body.
tests/server/providers/openapi/test_comprehensive.py:552
Methodtest_complex_return_annotation
(self, annotation)
tests/tools/tool/test_output_schema.py:86
Methodtest_complex_type_with_default
Test that complex types with defaults are JSON-serialized.
tests/cli/test_generate_cli.py:347
Methodtest_complex_types
(self)
tests/tools/test_tool_future_annotations.py:78
Methodtest_complex_union_nullable_scenarios
Test various complex union type scenarios.
tests/utilities/openapi/test_nullable_fields.py:182
Methodtest_component_annotation_inferred
(self)
tests/test_apps_prefab.py:218
Methodtest_component_disable_overrides_server_default
(self)
tests/resources/test_resource_security.py:279
Methodtest_component_enables_over_disabled_server_default
A per-component policy overrides a server default of None.
tests/resources/test_resource_security.py:303
Methodtest_component_exemption_overrides_server_default
(self)
tests/resources/test_resource_security.py:290
Functiontest_component_identifier_with_colons_is_recovered
()
tests/tasks/server/test_task_keys.py:97
Functiontest_component_import_works_in_fresh_interpreter
(statement: str)
tests/tools/test_standalone_decorator.py:33
Methodtest_component_meta_propagates_to_content
Template-level meta reaches content items, as it does for resources.
tests/resources/test_resource_template.py:1408
Methodtest_component_return_no_output_schema
(self)
tests/test_apps_prefab.py:332
Methodtest_component_subclass_union_inferred
(self)
tests/test_apps_prefab.py:296
Methodtest_component_with_complex_meta
Test component with nested meta structures.
tests/utilities/test_components.py:364
Methodtest_components_hint_limits_notifications
Test that the components hint limits which notifications are sent.
tests/server/test_session_visibility.py:490
Methodtest_composed_alias_arm_stripped
A composed alias arm — `str | Value` where `Value = int | InputRequiredResult` — is recursively unwrapped so the hidden guard is strip
tests/server/test_mrtr_guards.py:206
Methodtest_composed_lifespans_async_teardown_under_cancellation
Both server and provider async teardown completes under cancellation.
tests/server/test_server_lifespan.py:616
Functiontest_composed_providers_preserve_bundled_extensions
(wrapper: str)
tests/server/test_provider_extensions.py:133
Methodtest_comprehensive_server
Test get_fastmcp_info with a server that has all component types.
tests/utilities/test_inspect.py:177
Methodtest_comprehensive_server_initialization
Test server initialization with comprehensive spec.
tests/server/providers/openapi/test_comprehensive.py:371
Methodtest_compress_schema_preserves_defaults
Test that compress_schema() doesn't strip default values.
tests/client/test_elicitation_enums.py:513
Methodtest_compresses_schema_nested_far_beyond_the_recursion_limit
Deeply nested schemas must compress rather than raise RecursionError. Copying the schema is what sets the depth ceiling, so it must not
tests/utilities/test_json_schema.py:422
Functiontest_concurrent_background_tasks_with_context
Multiple concurrent background tasks sharing Context() should not raise ValueError from ContextVar token resets (#3654).
tests/tasks/server/test_concurrent_dependencies.py:82
Functiontest_concurrent_background_tasks_with_progress
Multiple concurrent background tasks sharing Progress() should not raise AssertionError from _impl being None (#3656).
tests/tasks/server/test_concurrent_dependencies.py:106
Functiontest_concurrent_calls_maintain_isolation
Multiple concurrent calls each get the same Docket instance.
tests/server/test_server_docket.py:111
Functiontest_concurrent_calls_reconnect_once
(monkeypatch: pytest.MonkeyPatch)
examples/smart_home/tests/test_fire_tv.py:162
← previousnext →7,001–7,100 of 13,374, ranked by callers