MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions17,519 in github.com/PrefectHQ/fastmcp

Methodtest_client_verify_overrides_transport_verify_in_oauth
(self)
tests/client/transports/test_transports.py:242
Methodtest_client_verify_preserves_custom_oauth_factory
( self, transport_cls: type[StreamableHttpTransport] | type[SSETransport], url: str,
tests/client/transports/test_transports.py:286
Methodtest_client_verify_preserves_factory_with_dynamic_attributes
( self, transport_cls: type[StreamableHttpTransport] | type[SSETransport], url: str,
tests/client/transports/test_transports.py:318
Methodtest_client_verify_propagates_to_oauth
(self)
tests/client/transports/test_transports.py:193
Methodtest_client_verify_raises_for_non_http_transport
(self)
tests/client/transports/test_transports.py:152
Methodtest_client_verify_resyncs_default_oauth_factory
( self, transport_cls: type[StreamableHttpTransport] | type[SSETransport], url: str,
tests/client/transports/test_transports.py:350
Methodtest_client_verify_resyncs_existing_oauth_on_transport
(self)
tests/client/transports/test_transports.py:220
Functiontest_client_with_excluded_header_is_ignored
(sse_server: str)
tests/client/test_openapi.py:176
Methodtest_client_with_token_sees_all_authorized_tools
(self)
tests/server/auth/test_authorization.py:747
Functiontest_clients_negotiate_independently
()
tests/client/group/test_client_group.py:52
Functiontest_clone_preserves_configuration_and_clears_binding
( monkeypatch: pytest.MonkeyPatch, with_provider: bool )
tests/tasks/server/test_extension_clone.py:22
Functiontest_cloning_clears_binding_and_isolates_mutable_state
()
tests/server/test_provider_extensions.py:389
Methodtest_close_obo_credentials
Test that close_obo_credentials closes all cached credentials.
tests/server/auth/providers/test_azure_scopes.py:731
Methodtest_close_racing_a_new_context_leaves_that_context_connected
close() stops the session it finds before a context entered after it can reuse that session, as on 4.0.5.
tests/client/client/test_client.py:1227
Methodtest_close_read_never_exceeds_choice_limit
(self)
tests/experimental/transforms/test_jev_search.py:260
Methodtest_close_read_puts_summaries_in_state_and_detail_in_criteria
(self)
tests/experimental/transforms/test_jev_search.py:154
Methodtest_close_session_and_try_to_use_client_raises_error
(self, stdio_script)
tests/client/test_stdio.py:626
Functiontest_closed_issue_carries_its_reason
()
tests/test_triage_floor_feed.py:66
Methodtest_closes_unscheduled_coroutines_from_an_eager_caller
Lazy consumption keeps the leak window small, but a caller that builds its awaitables eagerly (a list or a parenthesized tuple) has co
tests/utilities/test_async_utils.py:206
Functiontest_closure_outcomes_and_local_midnight
(backlog)
tests/test_backlog_status.py:45
Functiontest_closure_scoped_types_with_builtins
Closure-scoped tools work when annotations only reference builtins.
tests/tools/test_tool_future_annotations.py:172
Methodtest_cloud_metadata_ref_not_fetched
(self)
tests/utilities/test_json_schema.py:1410
Methodtest_code_is_rejected_after_redemption
(self, jwt_verifier)
tests/server/auth/oauth_proxy/test_single_use.py:128
Functiontest_code_mode_custom_discovery_tool_function
A plain function can serve as a discovery tool factory.
tests/experimental/transforms/test_code_mode.py:362
Functiontest_code_mode_custom_execute_description
()
tests/experimental/transforms/test_code_mode.py:298
Functiontest_code_mode_custom_execute_name
()
tests/experimental/transforms/test_code_mode.py:278
Functiontest_code_mode_custom_search_tool_name
Search and GetSchemas support custom names.
tests/experimental/transforms/test_code_mode.py:439
Functiontest_code_mode_default_execute_description
()
tests/experimental/transforms/test_code_mode.py:317
Functiontest_code_mode_default_tools
Default CodeMode exposes search, get_schema, and execute.
tests/experimental/transforms/test_code_mode.py:108
Functiontest_code_mode_execute_multi_tool_chaining
Execute block can chain multiple call_tool() calls.
tests/experimental/transforms/test_code_mode.py:652
Functiontest_code_mode_execute_non_text_content_stringified
()
tests/experimental/transforms/test_code_mode.py:635
Functiontest_code_mode_execute_respects_disabled_tool_visibility
()
tests/experimental/transforms/test_code_mode.py:486
Functiontest_code_mode_execute_respects_tool_auth
()
tests/experimental/transforms/test_code_mode.py:544
Functiontest_code_mode_execute_sees_mid_run_visibility_changes
Unlocking a tool mid-execution makes it callable in the same run.
tests/experimental/transforms/test_code_mode.py:518
Functiontest_code_mode_execute_works
Execute tool can call backend tools through the sandbox.
tests/experimental/transforms/test_code_mode.py:257
Functiontest_code_mode_get_schema_brief
get_schema with detail=brief returns names and descriptions only.
tests/experimental/transforms/test_code_mode.py:146
Functiontest_code_mode_get_schema_default_is_detailed
get_schema defaults to detailed (markdown with parameters).
tests/experimental/transforms/test_code_mode.py:207
Functiontest_code_mode_get_schema_detailed
get_schema with detail=detailed returns markdown with parameter info.
tests/experimental/transforms/test_code_mode.py:167
Functiontest_code_mode_get_schema_full
get_schema with detail=full returns JSON schema.
tests/experimental/transforms/test_code_mode.py:188
Functiontest_code_mode_get_schema_names_return_fields_one_level_down
A typed return no longer renders as an opaque object[].
tests/experimental/transforms/test_code_mode.py:1180
Functiontest_code_mode_get_schema_not_found
get_schema reports tools that don't exist in the catalog.
tests/experimental/transforms/test_code_mode.py:224
Functiontest_code_mode_get_schema_partial_match
get_schema returns schemas for found tools and reports missing ones.
tests/experimental/transforms/test_code_mode.py:240
Functiontest_code_mode_get_schema_renders_enums_and_defaults
Detailed schemas surface enum values and defaults, not just types.
tests/experimental/transforms/test_code_mode.py:1151
Functiontest_code_mode_get_tool_returns_meta_tools_and_passes_through
get_tool returns meta-tools by name and passes through backend tools.
tests/experimental/transforms/test_code_mode.py:603
Functiontest_code_mode_is_error_result_raises_in_sandbox
A backend returning an is_error ToolResult interrupts the chain. Regression: proxied backend failures arrive as ToolResult(is_error=True) rat
tests/experimental/transforms/test_code_mode.py:1093
Functiontest_code_mode_max_tool_calls_default_is_50
()
tests/experimental/transforms/test_code_mode.py:960
Functiontest_code_mode_max_tool_calls_enforced
()
tests/experimental/transforms/test_code_mode.py:964
Functiontest_code_mode_max_tool_calls_none_is_unlimited
()
tests/experimental/transforms/test_code_mode.py:987
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:1124
Functiontest_code_mode_wall_clock_timeout_bounds_monty_callbacks
Monty's duration limits skip callback time; the wall clock does not.
tests/experimental/transforms/test_code_mode.py:1033
Functiontest_code_mode_wall_clock_timeout_raises_tool_error
A tool call outlasting the wall-clock limit fails the execute call.
tests/experimental/transforms/test_code_mode.py:1011
Methodtest_codex_scans_both_paths
Test that CodexSkillsProvider scans both system and user paths.
tests/server/providers/test_skills_vendor_providers.py:140
Methodtest_codex_skills_provider_paths
Test CodexSkillsProvider uses both system and user paths.
tests/server/providers/test_skills_vendor_providers.py:44
Methodtest_coerce_task_arguments_constraint_violation
(self)
tests/tools/tool/test_argument_validation.py:107
Methodtest_coerce_task_arguments_wrong_type
(self)
tests/tools/tool/test_argument_validation.py:97
Methodtest_coercion_error_exits
(self)
tests/cli/test_client_commands.py:299
Functiontest_cold_cache_budget_limits_attempts_even_when_calls_fail
( ranking_module, tmp_path, fails )
tests/test_issue_ranking.py:215
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:435
Methodtest_collapses_a_repeated_iss_from_the_registered_redirect_uri
A redirect_uri may carry `iss` more than once (`?iss=a&iss=b`). `replace_query_param` rewrites only the first match, so the survivor u
tests/server/auth/test_redirect_validation.py:165
Methodtest_collect_returns_structured_content
(self)
tests/apps/test_form.py:31
Functiontest_collected_parents_are_dropped_from_child_links
()
tests/server/test_subscriptions.py:322
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_colliding_flags_in_skill_generation
(self)
tests/cli/test_generate_cli.py:1115
Functiontest_colliding_mounts_omit_the_skill
()
tests/skills/test_composition.py:128
Methodtest_colliding_params_emit_explicit_flag_and_execute
(self)
tests/cli/test_generate_cli.py:1069
Methodtest_collision_handling
Test that parameter collision handling works correctly.
tests/server/providers/openapi/test_end_to_end_compatibility.py:130
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_colon_line_in_prose_is_not_a_section
(self)
tests/utilities/test_docstring_parsing.py:356
Methodtest_colon_line_in_prose_reaches_tool_listing
(self)
tests/utilities/test_docstring_parsing.py:671
Functiontest_colon_path_segment_reaches_http_endpoint
()
tests/utilities/openapi/test_path_values.py:126
Methodtest_combine_lifespans_empty
Test combining zero lifespans.
tests/server/test_server_lifespan.py:507
Methodtest_combine_lifespans_fastapi_style
Test combining lifespans that yield None (FastAPI-style).
tests/server/test_server_lifespan.py:353
Methodtest_combine_lifespans_fastmcp_style
Test combining lifespans that yield dicts (FastMCP-style).
tests/server/test_server_lifespan.py:382
Methodtest_combine_lifespans_mixed_styles
Test combining FastAPI-style (yield None) and FastMCP-style (yield dict).
tests/server/test_server_lifespan.py:410
Methodtest_combine_lifespans_result_merge_later_wins
Test that later lifespans overwrite earlier ones on key conflict.
tests/server/test_server_lifespan.py:444
Methodtest_combine_lifespans_three
Test combining three lifespans.
tests/server/test_server_lifespan.py:464
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:514
Methodtest_combine_schemas_and_map_params_complex
Test parameter mapping for complex route.
tests/utilities/openapi/test_schemas.py:281
Methodtest_combine_schemas_and_map_params_simple
Test combining schemas and creating parameter map.
tests/utilities/openapi/test_schemas.py:241
Methodtest_combine_schemas_and_map_params_with_collisions
Test parameter mapping with collisions.
tests/utilities/openapi/test_schemas.py:255
Methodtest_combine_schemas_complex
Test combining schemas for complex route.
tests/utilities/openapi/test_schemas.py:215
Methodtest_combine_schemas_simple
Test combining schemas for a simple route.
tests/utilities/openapi/test_schemas.py:186
Methodtest_combine_schemas_with_collisions
Test combining schemas with parameter name collisions.
tests/utilities/openapi/test_schemas.py:200
← previousnext →9,301–9,400 of 17,519, ranked by callers