MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

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:674
Methodtest_anyof_type
(self)
tests/cli/test_client_commands.py:371
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:429
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:1448
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
Functiontest_app_accepts_names_outside_identity_address_pattern
( kind: str, name: str )
tests/apps/test_tool_names.py:34
Methodtest_app_backend_tool_callable
A tool registered with AppConfig(visibility=["app"]) is callable.
tests/test_apps.py:586
Methodtest_app_config_model
(self)
tests/test_apps.py:217
Methodtest_app_dict
(self)
tests/test_apps.py:229
Methodtest_app_exists
Test that the main app is properly configured.
tests/cli/test_cli.py:15
Methodtest_app_in_mcp_wire_format
(self)
tests/test_apps.py:260
Methodtest_app_merges_with_existing_meta
(self)
tests/test_apps.py:247
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:610
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:704
Methodtest_app_only_tool_callable_via_hashed_address
The hashed address still resolves, independent of the display name.
tests/test_fastmcp_app.py:688
Methodtest_app_only_tool_carries_public_hash
The identity hash is public meta, so intermediaries can match on it.
tests/test_fastmcp_app.py:736
Methodtest_app_only_tool_declares_app_visibility
The listed tool carries visibility=["app"] so a host can filter it.
tests/test_fastmcp_app.py:625
Methodtest_app_only_tool_is_forwarded_through_a_proxy
(self)
tests/server/providers/test_prefab_roundtrip.py:234
Methodtest_app_only_tool_namespaced_in_list_tools
Namespacing renames app-only tools like any other tool.
tests/test_fastmcp_app.py:721
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:640
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
Functiontest_app_rejects_identity_address_as_tool_name
(kind: str, naming: str)
tests/apps/test_tool_names.py:11
Methodtest_app_tool_callable
A tool registered with app= is still callable normally.
tests/test_apps.py:574
Methodtest_app_tool_model_true_visible
(self)
tests/test_fastmcp_app.py:774
Methodtest_app_tool_synthesizes_renderer
(self)
tests/server/providers/test_prefab_synthesis.py:208
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:122
Methodtest_appends_to_existing_ordinary_query
(self)
tests/server/auth/test_redirect_validation.py:67
Methodtest_appends_when_key_absent
(self)
tests/server/auth/test_redirect_validation.py:89
Methodtest_application_json_uses_httpx_json
Standard application/json uses httpx's json= parameter.
tests/utilities/openapi/test_director.py:434
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:669
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:1421
Functiontest_arg_transform_annotated_types
(add_tool)
tests/tools/tool_transform/test_args.py:154
Functiontest_arg_transform_combined_attributes
(add_tool)
tests/tools/tool_transform/test_args.py:226
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:381
Functiontest_arg_transform_default_factory
Test ArgTransform with default_factory for hidden parameters.
tests/tools/tool_transform/test_args.py:295
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:323
Functiontest_arg_transform_default_factory_requires_hide
Test that default_factory requires hide=True.
tests/tools/tool_transform/test_args.py:389
Methodtest_arg_transform_examples_in_schema
(self, add_tool: Tool)
tests/tools/tool_transform/test_schemas.py:400
Functiontest_arg_transform_hidden_with_default_factory
Test that hidden parameters with default_factory work correctly.
tests/tools/tool_transform/test_args.py:356
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:471
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:184
Functiontest_arg_transform_precedence_over_function_without_kwargs
()
tests/tools/tool_transform/test_args.py:170
Functiontest_arg_transform_required_false
Test ArgTransform with required=False by setting a default.
tests/tools/tool_transform/test_args.py:408
Functiontest_arg_transform_required_no_change
Test that not specifying required doesn't change existing required status.
tests/tools/tool_transform/test_args.py:450
Functiontest_arg_transform_required_true
Test ArgTransform with required=True.
tests/tools/tool_transform/test_args.py:397
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:434
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:442
Functiontest_arg_transform_required_with_rename
Test ArgTransform with required and rename.
tests/tools/tool_transform/test_args.py:422
Functiontest_arg_transform_type_handling
(add_tool, py_type, json_type)
tests/tools/tool_transform/test_args.py:146
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:309
Functiontest_arg_transform_type_keeps_transform_fn_default
ArgTransform(type=...) must not drop defaults declared on transform_fn.
tests/tools/tool_transform/test_tool_transform.py:427
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:333
Functiontest_arg_transform_type_precedence_runtime
Test that ArgTransform type changes work correctly at runtime.
tests/tools/tool_transform/test_args.py:244
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:357
Functiontest_arg_transform_type_replaces_parent_type_keywords
Regression for #5369: ArgTransform(type=...) must replace, not merge, parent types.
tests/tools/tool_transform/test_tool_transform.py:384
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
Methodtest_argument_titles_from_field
An explicit Field(title=...) becomes the argument's MCP title.
tests/prompts/test_prompt.py:697
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:79
Methodtest_array_accepts_valid_items
(self, string_array)
tests/utilities/json_schema_type/test_containers.py:47
Methodtest_array_invalid
(self)
tests/cli/test_client_commands.py:82
Methodtest_array_merge
(self)
tests/utilities/json_schema_type/test_advanced.py:928
Methodtest_array_of_integers
(self)
tests/cli/test_generate_cli.py:63
Methodtest_array_of_strings
(self)
tests/cli/test_generate_cli.py:56
Methodtest_array_of_strings
(self)
tests/cli/test_generate_cli.py:796
Methodtest_array_of_strings_parameter
(self)
tests/cli/test_generate_cli.py:270
Methodtest_array_rejects_invalid_items
(self, string_array)
tests/utilities/json_schema_type/test_containers.py:51
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
Functiontest_assertion_cannot_infer_public_client
( token_client: TestClient, rsa_key_pair: RSAKeyPair )
tests/server/auth/test_private_key_jwt_auth.py:179
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
Methodtest_assertion_not_minted_for_other_issuer
(self)
tests/client/auth/test_client_credentials.py:768
Functiontest_assertion_provider_signs_expected_audience
SignedJWTParameters produces an assertion bound to the given audience.
tests/client/auth/test_client_credentials.py:712
Methodtest_assertion_sent_to_configured_issuer
(self)
tests/client/auth/test_client_credentials.py:791
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
Functiontest_assignment_reduces_attention
(ranking_module)
tests/test_issue_ranking.py:96
Methodtest_async_auth_check_filters_tool_listing
Async auth checks should work for filtering tool lists.
tests/server/auth/test_authorization.py:778
Methodtest_async_auth_check_on_tool_call
Async auth checks should work for tool execution via client.
tests/server/auth/test_authorization.py:808
Methodtest_async_auth_middleware
Async auth checks should work with AuthMiddleware.
tests/server/auth/test_authorization.py:829
Methodtest_async_binary_resource
Test creating a binary resource from async function.
tests/resources/test_resource_template.py:227
← previousnext →7,401–7,500 of 15,974, ranked by callers