MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodtest_annotated_prefab_app_no_output_schema
(self)
tests/test_apps_prefab.py:360
Methodtest_annotated_string_description
(self)
tests/server/providers/local_provider_tools/test_parameters.py:407
Methodtest_annotated_string_takes_precedence
(self)
tests/utilities/test_docstring_parsing.py:384
Methodtest_annotated_union_return_strips_guard_arm
``Annotated[str | InputRequiredResult, ...]`` derives its output schema from the data arm; the guard arm is stripped inside Annotated.
tests/server/test_mrtr_guards.py:1035
Methodtest_annotated_with_context
Test Annotated[str, Field(...)] works with Context and future annotations.
tests/tools/test_tool_future_annotations.py:119
Methodtest_annotated_with_more_than_string_unchanged
Test that Annotated with more than just a string is unchanged.
tests/utilities/test_types.py:706
Methodtest_annotated_with_non_string_unchanged
Test that Annotated with non-string second arg is unchanged.
tests/utilities/test_types.py:718
Methodtest_annotated_with_union_member_is_member
Test that Annotated with a Union containing a member class is a member.
tests/utilities/test_types.py:85
Methodtest_annotations_override_beats_derived_title
An `annotations` override still outranks the name-derived title.
tests/tools/tool/test_title.py:77
Functiontest_anonymous_and_literal_anon_scope_have_disjoint_keyspaces
A real anonymous task and a (hostile) authenticated task whose scope literally equals "anon" must not collide.
tests/tasks/server/test_task_keys.py:79
Functiontest_anonymous_key_uses_anon_tag
()
tests/tasks/server/test_task_keys.py:73
Methodtest_any_id_is_rejected_without_a_way_to_create_one
(self)
tests/server/test_session_provider.py:483
Methodtest_any_return_annotation
(self)
tests/tools/tool/test_output_schema.py:108
Methodtest_any_title_becomes_valid_class_name
(self, title: str)
tests/utilities/json_schema_type/test_generated_classes.py:86
Methodtest_any_title_supports_nested_self_reference
(self, title: str)
tests/utilities/json_schema_type/test_generated_classes.py:93
Methodtest_anyof_already_nullable
Test anyOf that already contains null type.
tests/utilities/openapi/test_nullable_fields.py:218
Methodtest_anyof_reference_dereferenced
Test that schemas referenced in anyOf are preserved and unused defs pruned.
tests/utilities/openapi/test_schemas.py:672
Methodtest_anyof_type
(self)
tests/cli/test_client_commands.py:219
Methodtest_anyof_with_nullable
Test nullable handling with anyOf constructs.
tests/utilities/openapi/test_nullable_fields.py:206
Methodtest_anyurl_conversion
Test that AnyUrl objects are properly converted to strings.
tests/server/auth/test_redirect_validation.py:369
Methodtest_api_key_from_environment_is_accepted
(self, monkeypatch)
tests/experimental/transforms/test_jev_search.py:412
Methodtest_api_launch_stores_launch_behind_generated_url
Test /api/launch returns a launch URL that names a stored launch.
tests/cli/test_run.py:1102
Functiontest_api_origin_normalizes_one_trailing_slash
()
tests/cli/deploy/test_horizon_client.py:261
Functiontest_api_origin_rejects_values_that_are_not_origins
(value: str)
tests/cli/deploy/test_horizon_client.py:256
Methodtest_app_backend_tool_callable
A tool registered with AppConfig(visibility=["app"]) is callable.
tests/test_apps.py:571
Methodtest_app_config_model
(self)
tests/test_apps.py:216
Methodtest_app_dict
(self)
tests/test_apps.py:228
Methodtest_app_exists
Test that the main app is properly configured.
tests/cli/test_cli.py:13
Methodtest_app_in_mcp_wire_format
(self)
tests/test_apps.py:259
Methodtest_app_merges_with_existing_meta
(self)
tests/test_apps.py:246
Methodtest_app_name_with_underscores_ok
(self)
tests/test_fastmcp_app.py:34
Methodtest_app_only_tool_appears_in_list_tools
@app.tool() (visibility=["app"]) is listed; the host filters it out.
tests/test_fastmcp_app.py:588
Methodtest_app_only_tool_callable_by_display_name
App-only tools resolve normally; the host decides who may call them.
tests/test_fastmcp_app.py:682
Methodtest_app_only_tool_callable_via_hashed_address
The hashed address still resolves, independent of the display name.
tests/test_fastmcp_app.py:666
Methodtest_app_only_tool_carries_public_hash
The identity hash is public meta, so intermediaries can match on it.
tests/test_fastmcp_app.py:714
Methodtest_app_only_tool_declares_app_visibility
The listed tool carries visibility=["app"] so a host can filter it.
tests/test_fastmcp_app.py:603
Methodtest_app_only_tool_is_forwarded_through_a_proxy
(self)
tests/server/providers/test_prefab_roundtrip.py:201
Methodtest_app_only_tool_namespaced_in_list_tools
Namespacing renames app-only tools like any other tool.
tests/test_fastmcp_app.py:699
Methodtest_app_only_tool_visibility_survives_the_wire
A client sees the visibility declaration, which is what it filters on.
tests/test_fastmcp_app.py:618
Functiontest_app_only_tools_are_listed_for_forwarding
The wire listing keeps them: a proxy cannot forward what it cannot see. Only the model-facing catalog is filtered, so a server without a catalog
tests/server/transforms/test_model_visibility_boundary.py:90
Functiontest_app_only_tools_stay_out_of_model_catalogs
Discovery surfaces hand tool definitions straight to the model.
tests/server/transforms/test_model_visibility_boundary.py:67
Methodtest_app_tool_callable
A tool registered with app= is still callable normally.
tests/test_apps.py:559
Methodtest_app_tool_model_true_visible
(self)
tests/test_fastmcp_app.py:752
Methodtest_app_tool_uri_uses_address
(self)
tests/server/providers/test_prefab_synthesis.py:125
Methodtest_app_true_sets_meta
(self)
tests/test_apps_prefab.py:105
Methodtest_app_true_synthesizes_renderer_resource
Each prefab tool gets a per-tool renderer resource synthesized on demand at list_resources time. Resources don't live on any provider'
tests/test_apps_prefab.py:122
Methodtest_appends_params_and_iss_when_absent
(self)
tests/server/auth/test_redirect_validation.py:121
Methodtest_appends_to_existing_ordinary_query
(self)
tests/server/auth/test_redirect_validation.py:66
Methodtest_appends_when_key_absent
(self)
tests/server/auth/test_redirect_validation.py:88
Methodtest_application_json_uses_httpx_json
Standard application/json uses httpx's json= parameter.
tests/utilities/openapi/test_director.py:403
Methodtest_apply_runtime_settings
Test apply_runtime_settings() method.
tests/cli/test_config.py:161
Functiontest_apply_snapshot_clears_prior_auth_in_reused_context
An anonymous task must not inherit a prior task's identity or headers. A Docket worker may reuse an asyncio context across executions. Applying a
tests/tasks/server/test_snapshot_restore.py:172
Functiontest_apply_snapshot_headers_without_faking_a_request
Snapshot headers are readable, but no live request is fabricated. `get_http_headers()` returns the submitting request's headers, while `get_h
tests/tasks/server/test_snapshot_restore.py:122
Functiontest_apply_snapshot_restores_auth_and_headers_in_clean_context
The cross-process path: with nothing inherited, the snapshot alone makes get_access_token()/get_http_headers() see the submitting caller. A R
tests/tasks/server/test_snapshot_restore.py:86
Functiontest_apply_snapshot_skips_expired_token
An expired snapshot token is not installed, so the worker is unauthenticated. A task may sit queued past its submitter's token expiry. A live req
tests/tasks/server/test_snapshot_restore.py:143
Methodtest_approve_sets_consent_binding_cookie
Approving consent must set a signed consent binding cookie.
tests/server/auth/test_oauth_consent_page.py:507
Methodtest_approve_sets_cookie_and_redirects_to_upstream
Verify approving consent in 'remember' mode sets signed cookie and redirects to upstream.
tests/server/auth/test_oauth_consent_flow.py:1119
Methodtest_arbitrary_auth_headers_are_redacted
Arbitrary header names (e.g. OpenAPI apiKey-in-header) are redacted.
tests/server/providers/openapi/test_openapi_features.py:1330
Functiontest_arg_transform_annotated_types
(add_tool)
tests/tools/tool_transform/test_args.py:98
Functiontest_arg_transform_combined_attributes
(add_tool)
tests/tools/tool_transform/test_args.py:170
Functiontest_arg_transform_default_and_factory_raises_error
Test that providing both default and default_factory raises an error.
tests/tools/tool_transform/test_args.py:304
Functiontest_arg_transform_default_factory
Test ArgTransform with default_factory for hidden parameters.
tests/tools/tool_transform/test_args.py:218
Functiontest_arg_transform_default_factory_called_each_time
Test that default_factory is called for each tool execution.
tests/tools/tool_transform/test_args.py:246
Functiontest_arg_transform_default_factory_requires_hide
Test that default_factory requires hide=True.
tests/tools/tool_transform/test_args.py:312
Methodtest_arg_transform_examples_in_schema
(self, add_tool: Tool)
tests/tools/tool_transform/test_schemas.py:315
Functiontest_arg_transform_hidden_with_default_factory
Test that hidden parameters with default_factory work correctly.
tests/tools/tool_transform/test_args.py:279
Functiontest_arg_transform_hide_and_required_raises_error
Test that hide=True and required=True together raises an error.
tests/tools/tool_transform/test_args.py:394
Functiontest_arg_transform_precedence_over_function_with_kwargs
Test that ArgTransform attributes take precedence over function signature (with **kwargs).
tests/tools/tool_transform/test_args.py:128
Functiontest_arg_transform_precedence_over_function_without_kwargs
()
tests/tools/tool_transform/test_args.py:114
Functiontest_arg_transform_required_false
Test ArgTransform with required=False by setting a default.
tests/tools/tool_transform/test_args.py:331
Functiontest_arg_transform_required_no_change
Test that not specifying required doesn't change existing required status.
tests/tools/tool_transform/test_args.py:373
Functiontest_arg_transform_required_true
Test ArgTransform with required=True.
tests/tools/tool_transform/test_args.py:320
Functiontest_arg_transform_required_true_with_default_raises_error
Test that required=True with default raises an error.
tests/tools/tool_transform/test_args.py:357
Functiontest_arg_transform_required_true_with_factory_raises_error
Test that required=True with default_factory raises an error.
tests/tools/tool_transform/test_args.py:365
Functiontest_arg_transform_required_with_rename
Test ArgTransform with required and rename.
tests/tools/tool_transform/test_args.py:345
Functiontest_arg_transform_type_handling
(add_tool, py_type, json_type)
tests/tools/tool_transform/test_args.py:90
Functiontest_arg_transform_type_hoists_defs_to_root
Regression test for #4093: ArgTransform(type=...) must hoist any $defs introduced by the new type to the schema root, not leave them nested in
tests/tools/tool_transform/test_tool_transform.py:292
Functiontest_arg_transform_type_merges_with_parent_defs
When the parent tool already has $defs, ArgTransform(type=...) defs should be merged into the existing root $defs alongside them.
tests/tools/tool_transform/test_tool_transform.py:316
Functiontest_arg_transform_type_precedence_runtime
Test that ArgTransform type changes work correctly at runtime.
tests/tools/tool_transform/test_args.py:188
Functiontest_arg_transform_type_raises_on_defs_name_collision
ArgTransform must not silently overwrite a parent's $defs entry when the colliding name maps to a different schema; refs already copied from t
tests/tools/tool_transform/test_tool_transform.py:340
Methodtest_args_with_special_characters
(self)
tests/cli/test_goose.py:150
Methodtest_argument_arrives_literally
(self, argument: str)
tests/cli/test_install_cli_arguments.py:234
Functiontest_argument_validation_with_dependencies
Test that user arguments are still validated when dependencies are present.
tests/server/test_dependencies.py:436
Methodtest_array
(self)
tests/cli/test_client_commands.py:68
Methodtest_array_accepts_valid_items
(self, string_array)
tests/utilities/json_schema_type/test_containers.py:43
Methodtest_array_invalid
(self)
tests/cli/test_client_commands.py:71
Methodtest_array_merge
(self)
tests/utilities/json_schema_type/test_advanced.py:381
Methodtest_array_of_integers
(self)
tests/cli/test_generate_cli.py:61
Methodtest_array_of_strings
(self)
tests/cli/test_generate_cli.py:54
Methodtest_array_of_strings
(self)
tests/cli/test_generate_cli.py:737
Methodtest_array_of_strings_parameter
(self)
tests/cli/test_generate_cli.py:267
Methodtest_array_rejects_invalid_items
(self, string_array)
tests/utilities/json_schema_type/test_containers.py:47
Methodtest_ask_is_not_cached
The response cache must never store an ask: two identical first-leg calls both reach the tool (the second is not served a stale cached
tests/server/test_mrtr_guards.py:921
Methodtest_ask_is_the_observed_result_of_a_guard_leg
Each MRTR leg is a complete request→response cycle: a guard tool's ask is the full, legitimate result of that leg. A component hook's
tests/server/middleware/test_message_visibility.py:365
Methodtest_asserted_subject_flows_into_auth_context
The issued token, verified via the same path the bearer-auth middleware uses (`verify_token` -> `load_access_token`), exposes the asserted sub
tests/server/auth/oauth_proxy/test_identity_assertion.py:314
Methodtest_assertion_for_other_client_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:638
Methodtest_assertion_for_other_resource_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:705
Functiontest_assertion_provider_signs_expected_audience
SignedJWTParameters produces an assertion bound to the given audience.
tests/client/auth/test_client_credentials.py:669
Methodtest_assertion_without_client_id_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:695
Methodtest_assertion_without_resource_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:719
← previousnext →6,201–6,300 of 13,374, ranked by callers