Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
17,519 in github.com/PrefectHQ/fastmcp
⨍
Functions
17,519
◇
Types & classes
2,390
↳
Endpoints
196
Method
test_client_verify_overrides_transport_verify_in_oauth
(self)
tests/client/transports/test_transports.py:242
Method
test_client_verify_preserves_custom_oauth_factory
( self, transport_cls: type[StreamableHttpTransport] | type[SSETransport], url: str,
tests/client/transports/test_transports.py:286
Method
test_client_verify_preserves_factory_with_dynamic_attributes
( self, transport_cls: type[StreamableHttpTransport] | type[SSETransport], url: str,
tests/client/transports/test_transports.py:318
Method
test_client_verify_propagates_to_oauth
(self)
tests/client/transports/test_transports.py:193
Method
test_client_verify_raises_for_non_http_transport
(self)
tests/client/transports/test_transports.py:152
Method
test_client_verify_resyncs_default_oauth_factory
( self, transport_cls: type[StreamableHttpTransport] | type[SSETransport], url: str,
tests/client/transports/test_transports.py:350
Method
test_client_verify_resyncs_existing_oauth_on_transport
(self)
tests/client/transports/test_transports.py:220
Function
test_client_with_excluded_header_is_ignored
(sse_server: str)
tests/client/test_openapi.py:176
Method
test_client_with_token_sees_all_authorized_tools
(self)
tests/server/auth/test_authorization.py:747
Function
test_clients_negotiate_independently
()
tests/client/group/test_client_group.py:52
Function
test_clone_preserves_configuration_and_clears_binding
( monkeypatch: pytest.MonkeyPatch, with_provider: bool )
tests/tasks/server/test_extension_clone.py:22
Function
test_cloning_clears_binding_and_isolates_mutable_state
()
tests/server/test_provider_extensions.py:389
Method
test_close_obo_credentials
Test that close_obo_credentials closes all cached credentials.
tests/server/auth/providers/test_azure_scopes.py:731
Method
test_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
Method
test_close_read_never_exceeds_choice_limit
(self)
tests/experimental/transforms/test_jev_search.py:260
Method
test_close_read_puts_summaries_in_state_and_detail_in_criteria
(self)
tests/experimental/transforms/test_jev_search.py:154
Method
test_close_session_and_try_to_use_client_raises_error
(self, stdio_script)
tests/client/test_stdio.py:626
Function
test_closed_issue_carries_its_reason
()
tests/test_triage_floor_feed.py:66
Method
test_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
Function
test_closure_outcomes_and_local_midnight
(backlog)
tests/test_backlog_status.py:45
Function
test_closure_scoped_types_with_builtins
Closure-scoped tools work when annotations only reference builtins.
tests/tools/test_tool_future_annotations.py:172
Method
test_cloud_metadata_ref_not_fetched
(self)
tests/utilities/test_json_schema.py:1410
Method
test_code_is_rejected_after_redemption
(self, jwt_verifier)
tests/server/auth/oauth_proxy/test_single_use.py:128
Function
test_code_mode_custom_discovery_tool_function
A plain function can serve as a discovery tool factory.
tests/experimental/transforms/test_code_mode.py:362
Function
test_code_mode_custom_execute_description
()
tests/experimental/transforms/test_code_mode.py:298
Function
test_code_mode_custom_execute_name
()
tests/experimental/transforms/test_code_mode.py:278
Function
test_code_mode_custom_search_tool_name
Search and GetSchemas support custom names.
tests/experimental/transforms/test_code_mode.py:439
Function
test_code_mode_default_execute_description
()
tests/experimental/transforms/test_code_mode.py:317
Function
test_code_mode_default_tools
Default CodeMode exposes search, get_schema, and execute.
tests/experimental/transforms/test_code_mode.py:108
Function
test_code_mode_execute_multi_tool_chaining
Execute block can chain multiple call_tool() calls.
tests/experimental/transforms/test_code_mode.py:652
Function
test_code_mode_execute_non_text_content_stringified
()
tests/experimental/transforms/test_code_mode.py:635
Function
test_code_mode_execute_respects_disabled_tool_visibility
()
tests/experimental/transforms/test_code_mode.py:486
Function
test_code_mode_execute_respects_tool_auth
()
tests/experimental/transforms/test_code_mode.py:544
Function
test_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
Function
test_code_mode_execute_works
Execute tool can call backend tools through the sandbox.
tests/experimental/transforms/test_code_mode.py:257
Function
test_code_mode_get_schema_brief
get_schema with detail=brief returns names and descriptions only.
tests/experimental/transforms/test_code_mode.py:146
Function
test_code_mode_get_schema_default_is_detailed
get_schema defaults to detailed (markdown with parameters).
tests/experimental/transforms/test_code_mode.py:207
Function
test_code_mode_get_schema_detailed
get_schema with detail=detailed returns markdown with parameter info.
tests/experimental/transforms/test_code_mode.py:167
Function
test_code_mode_get_schema_full
get_schema with detail=full returns JSON schema.
tests/experimental/transforms/test_code_mode.py:188
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_code_mode_max_tool_calls_default_is_50
()
tests/experimental/transforms/test_code_mode.py:960
Function
test_code_mode_max_tool_calls_enforced
()
tests/experimental/transforms/test_code_mode.py:964
Function
test_code_mode_max_tool_calls_none_is_unlimited
()
tests/experimental/transforms/test_code_mode.py:987
Function
test_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
Function
test_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
Function
test_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
Function
test_code_mode_monty_execute_chaining
Multiple sequential call_tool() calls chain through the real sandbox.
tests/experimental/transforms/test_code_mode.py:751
Function
test_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
Function
test_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
Function
test_code_mode_no_discovery_tools
CodeMode with empty discovery_tools exposes only execute.
tests/experimental/transforms/test_code_mode.py:343
Function
test_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
Function
test_code_mode_rejects_duplicate_discovery_names
CodeMode raises ValueError when discovery tools have duplicate names.
tests/experimental/transforms/test_code_mode.py:471
Method
test_code_mode_returns_task_tool_result
(self)
tests/tasks/server/test_task_catalog_transforms.py:132
Function
test_code_mode_sandbox_error_surfaces_as_tool_error
()
tests/experimental/transforms/test_code_mode.py:680
Function
test_code_mode_search_detailed
Search with detail='detailed' returns markdown with parameter info.
tests/experimental/transforms/test_code_mode.py:396
Function
test_code_mode_search_respects_disabled_tool_visibility
()
tests/experimental/transforms/test_code_mode.py:502
Function
test_code_mode_search_respects_tool_auth
()
tests/experimental/transforms/test_code_mode.py:559
Function
test_code_mode_search_returns_lightweight_results
Default search returns tool names and descriptions, not full schemas.
tests/experimental/transforms/test_code_mode.py:122
Function
test_code_mode_search_tool_full_detail
Search with detail='full' includes JSON schemas.
tests/experimental/transforms/test_code_mode.py:415
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Method
test_codex_scans_both_paths
Test that CodexSkillsProvider scans both system and user paths.
tests/server/providers/test_skills_vendor_providers.py:140
Method
test_codex_skills_provider_paths
Test CodexSkillsProvider uses both system and user paths.
tests/server/providers/test_skills_vendor_providers.py:44
Method
test_coerce_task_arguments_constraint_violation
(self)
tests/tools/tool/test_argument_validation.py:107
Method
test_coerce_task_arguments_wrong_type
(self)
tests/tools/tool/test_argument_validation.py:97
Method
test_coercion_error_exits
(self)
tests/cli/test_client_commands.py:299
Function
test_cold_cache_budget_limits_attempts_even_when_calls_fail
( ranking_module, tmp_path, fails )
tests/test_issue_ranking.py:215
Method
test_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
Method
test_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
Method
test_collect_returns_structured_content
(self)
tests/apps/test_form.py:31
Function
test_collected_parents_are_dropped_from_child_links
()
tests/server/test_subscriptions.py:322
Function
test_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
Method
test_colliding_flags_in_skill_generation
(self)
tests/cli/test_generate_cli.py:1115
Function
test_colliding_mounts_omit_the_skill
()
tests/skills/test_composition.py:128
Method
test_colliding_params_emit_explicit_flag_and_execute
(self)
tests/cli/test_generate_cli.py:1069
Method
test_collision_handling
Test that parameter collision handling works correctly.
tests/server/providers/openapi/test_end_to_end_compatibility.py:130
Method
test_collision_resolution_maintains_functionality
Test that collision resolution doesn't break basic tool functionality.
tests/server/providers/openapi/test_parameter_collisions.py:204
Method
test_colon_line_in_prose_is_not_a_section
(self)
tests/utilities/test_docstring_parsing.py:356
Method
test_colon_line_in_prose_reaches_tool_listing
(self)
tests/utilities/test_docstring_parsing.py:671
Function
test_colon_path_segment_reaches_http_endpoint
()
tests/utilities/openapi/test_path_values.py:126
Method
test_combine_lifespans_empty
Test combining zero lifespans.
tests/server/test_server_lifespan.py:507
Method
test_combine_lifespans_fastapi_style
Test combining lifespans that yield None (FastAPI-style).
tests/server/test_server_lifespan.py:353
Method
test_combine_lifespans_fastmcp_style
Test combining lifespans that yield dicts (FastMCP-style).
tests/server/test_server_lifespan.py:382
Method
test_combine_lifespans_mixed_styles
Test combining FastAPI-style (yield None) and FastMCP-style (yield dict).
tests/server/test_server_lifespan.py:410
Method
test_combine_lifespans_result_merge_later_wins
Test that later lifespans overwrite earlier ones on key conflict.
tests/server/test_server_lifespan.py:444
Method
test_combine_lifespans_three
Test combining three lifespans.
tests/server/test_server_lifespan.py:464
Method
test_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
Method
test_combine_schemas_and_map_params_complex
Test parameter mapping for complex route.
tests/utilities/openapi/test_schemas.py:281
Method
test_combine_schemas_and_map_params_simple
Test combining schemas and creating parameter map.
tests/utilities/openapi/test_schemas.py:241
Method
test_combine_schemas_and_map_params_with_collisions
Test parameter mapping with collisions.
tests/utilities/openapi/test_schemas.py:255
Method
test_combine_schemas_complex
Test combining schemas for complex route.
tests/utilities/openapi/test_schemas.py:215
Method
test_combine_schemas_simple
Test combining schemas for a simple route.
tests/utilities/openapi/test_schemas.py:186
Method
test_combine_schemas_with_collisions
Test combining schemas with parameter name collisions.
tests/utilities/openapi/test_schemas.py:200
← previous
next →
9,301–9,400 of 17,519, ranked by callers