MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodtest_tool_name_conflict_raises
(self)
tests/test_fastmcp_app.py:80
Methodtest_tool_name_derived_from_model
(self)
tests/apps/test_form.py:39
Methodtest_tool_name_kwarg
(self)
tests/test_fastmcp_app.py:71
Methodtest_tool_name_too_long_warns
Tool names exceeding 128 characters should produce a warning.
tests/tools/tool/test_tool.py:546
Methodtest_tool_name_with_invalid_chars_warns
Tool names with invalid characters should produce a warning.
tests/tools/tool/test_tool.py:535
Methodtest_tool_name_with_leading_dash_warns
Tool names starting with dash should produce a warning.
tests/tools/tool/test_tool.py:558
Methodtest_tool_name_with_spaces_warns
Tool names with spaces should produce a warning.
tests/tools/tool/test_tool.py:524
Methodtest_tool_names_override_applied_in_list_tools
Test that tool_names override is reflected in list_tools().
tests/server/mount/test_advanced.py:414
Methodtest_tool_names_override_via_transforms
Test that tool_names renames tools via ToolTransform layer. Tool renames are applied first, then namespace prefixing. So original_too
tests/server/mount/test_advanced.py:386
Methodtest_tool_not_found_falls_through_to_static
Test that unknown tool name falls through to static tools.
tests/server/test_providers.py:273
Functiontest_tool_not_ignored_is_callable_by_hashed_name
()
tests/cli/test_fastmcp_remote.py:314
Methodtest_tool_output_schema_bridged
(self)
tests/test_compat.py:50
Methodtest_tool_output_with_any_title
(self, title: str)
tests/utilities/json_schema_type/test_generated_classes.py:163
Methodtest_tool_output_with_reserved_property_names
(self)
tests/utilities/json_schema_type/test_generated_classes.py:179
Methodtest_tool_output_with_self_reference
(self)
tests/utilities/json_schema_type/test_generated_classes.py:147
Methodtest_tool_prefixes_preserved_after_cache_hit
Tool names should retain prefix after being served from cache.
tests/server/middleware/test_caching.py:794
Methodtest_tool_raised_tool_error_logs_without_traceback
(self, caplog)
tests/server/test_input_validation.py:586
Methodtest_tool_registers_in_provider
(self)
tests/test_fastmcp_app.py:89
Methodtest_tool_registration
Test tool registration with prefix and separator variations.
tests/contrib/test_mcp_mixin.py:61
Methodtest_tool_rejects_classmethod_decorator
@tool should reject classmethod-decorated functions.
tests/tools/test_standalone_decorator.py:169
Methodtest_tool_rename
Test tool renaming with ToolTransform.
tests/server/providers/test_transforming_provider.py:88
Methodtest_tool_result_passthrough
ToolResult without prefab structured_content passes through unchanged.
tests/test_apps_prefab.py:92
Methodtest_tool_result_return_annotation_no_output_schema
(self)
tests/tools/tool/test_output_schema.py:136
Methodtest_tool_result_subclass_return_annotation_no_output_schema
(self)
tests/tools/tool/test_output_schema.py:150
Methodtest_tool_result_with_component_structured_content
ToolResult with bare Component as structured_content.
tests/test_apps_prefab.py:78
Methodtest_tool_result_with_prefab_structured_content
ToolResult with PrefabApp as structured_content preserves custom text.
tests/test_apps_prefab.py:62
Methodtest_tool_roundtrip
Tool should execute correctly via Client.
tests/server/providers/test_local_provider.py:396
Methodtest_tool_schema_generation
Test that tools have correct input schemas.
tests/server/providers/openapi/test_end_to_end_compatibility.py:97
Functiontest_tool_schema_structure
Test tool schema structure
examples/testing_demo/tests/test_server.py:149
Methodtest_tool_sections
(self)
tests/cli/test_generate_cli.py:772
Methodtest_tool_serializer_kwarg_removed
(self)
tests/test_upgrade_from_v3.py:300
Methodtest_tool_span_includes_auth_attributes_when_authenticated
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_server_tracing.py:223
Methodtest_tool_still_created_despite_warnings
Tools with invalid names should still be created (SHOULD not MUST).
tests/tools/tool/test_tool.py:569
Methodtest_tool_sync_execution_works
A tool called without opting in works through the proxy.
tests/tasks/server/test_task_proxy.py:66
Methodtest_tool_tags_in_meta
Test that tool tags appear in meta under fastmcp key.
tests/server/test_server.py:284
Functiontest_tool_task_await_syntax
(tool_task_server: FastMCP)
tests/tasks/client/test_client_tool_tasks.py:61
Functiontest_tool_task_cancel
A long-running task can be cancelled through the handle.
tests/tasks/client/test_client_tool_tasks.py:120
Functiontest_tool_task_executes_in_background
A submitted task runs in the background and can be polled to completion.
tests/tasks/server/test_task_tools.py:219
Functiontest_tool_task_result_is_cached
Repeated result() calls return the same cached object without re-polling.
tests/tasks/client/test_client_tool_tasks.py:80
Functiontest_tool_task_result_returns_parsed_result
(tool_task_server: FastMCP)
tests/tasks/client/test_client_tool_tasks.py:54
Functiontest_tool_task_returns_metadata_immediately
Submitting a task returns task metadata with a server-generated id.
tests/tasks/server/test_task_tools.py:208
Functiontest_tool_task_status_and_wait
(tool_task_server: FastMCP)
tests/tasks/client/test_client_tool_tasks.py:68
Methodtest_tool_timeout_param_forwarded
(self)
tests/contrib/test_mcp_mixin.py:499
Methodtest_tool_title_priority
Test that explicit title takes priority over annotations.title.
tests/tools/tool/test_title.py:88
Methodtest_tool_toggle_disabled
(self)
tests/server/providers/local_provider_tools/test_enabled.py:91
Methodtest_tool_toggle_enabled
(self)
tests/server/providers/local_provider_tools/test_enabled.py:79
Functiontest_tool_transform_chaining
Test that transformed tools can be transformed again.
tests/tools/tool_transform/test_args.py:36
Functiontest_tool_transform_config_enabled_defaults_to_true
Test that enabled defaults to True and no visibility metadata is set.
tests/tools/tool_transform/test_metadata.py:215
Functiontest_tool_transform_config_enabled_false_hides_tool
Test that ToolTransformConfig with enabled=False hides the tool from list_tools.
tests/server/test_tool_transformation.py:129
Functiontest_tool_transform_config_enabled_false_merges_with_config_meta
Test that enabled=False works with explicit meta override.
tests/tools/tool_transform/test_metadata.py:270
Functiontest_tool_transform_config_enabled_false_preserves_existing_meta
Test that enabled=False preserves existing meta while adding visibility.
tests/tools/tool_transform/test_metadata.py:255
Functiontest_tool_transform_config_enabled_false_sets_visibility_metadata
Test that enabled=False sets visibility metadata to hide the tool.
tests/tools/tool_transform/test_metadata.py:226
Functiontest_tool_transform_config_enabled_false_with_rename
Test that enabled=False works together with other transformations like rename.
tests/server/test_tool_transformation.py:153
Functiontest_tool_transform_config_enabled_true_explicit_sets_visibility
Test that enabled=True explicitly sets visibility metadata to allow overriding earlier disables.
tests/tools/tool_transform/test_metadata.py:241
Functiontest_tool_transform_config_enabled_true_keeps_tool_visible
Test that ToolTransformConfig with enabled=True (explicit) keeps the tool visible.
tests/server/test_tool_transformation.py:176
Functiontest_tool_transform_config_enabled_true_overrides_earlier_disable
Test that ToolTransformConfig with enabled=True can re-enable a previously disabled tool.
tests/server/test_tool_transformation.py:193
Functiontest_tool_transform_config_inherits_meta
Test that ToolTransformConfig inherits meta when unset.
tests/tools/tool_transform/test_metadata.py:149
Functiontest_tool_transform_config_overrides_meta
Test that ToolTransformConfig can override meta.
tests/tools/tool_transform/test_metadata.py:157
Functiontest_tool_transform_config_removes_meta
Test that ToolTransformConfig can remove meta with None.
tests/tools/tool_transform/test_metadata.py:167
Functiontest_tool_transformation_via_layer
Test that tool transformations work via add_transform(ToolTransform(...)).
tests/server/test_tool_transformation.py:12
Methodtest_tool_valid_kwargs_match_from_function
(self)
tests/contrib/test_mcp_mixin.py:350
Methodtest_tool_version_as_int
Tool version as int should be coerced to string.
tests/server/versioning/test_versioning.py:222
Methodtest_tool_version_dict_rejected
Tool with version={'major': 1} should raise TypeError.
tests/server/versioning/test_versioning.py:391
Methodtest_tool_version_list_rejected
Tool with version=[1, 2] should raise TypeError.
tests/server/versioning/test_versioning.py:382
Methodtest_tool_version_param_forwarded
(self)
tests/contrib/test_mcp_mixin.py:511
Methodtest_tool_version_zero_is_truthy
Version 0 should become "0" (truthy string), not empty.
tests/server/versioning/test_versioning.py:235
Methodtest_tool_versions_in_meta
Each version has its own version in metadata.
tests/server/versioning/test_calls.py:97
Methodtest_tool_visible_rejection_before_handler_still_spans
A tool-visible error raised in middleware is returned as an error result (correct MCP semantics, so the span status is unset), but the
tests/server/telemetry/test_server_tracing.py:545
Methodtest_tool_visible_to_model
(self)
tests/apps/test_choice.py:17
Methodtest_tool_visible_to_model
(self)
tests/apps/test_approval.py:26
Methodtest_tool_with_all_metadata
@tool with all metadata should store it all.
tests/tools/test_standalone_decorator.py:95
Methodtest_tool_with_annotated_arguments
Test that tools with annotated arguments work correctly.
tests/server/providers/local_provider_tools/test_decorator.py:227
Methodtest_tool_with_app_roundtrip
App metadata flows through to clients — no server-side stripping.
tests/test_apps.py:513
Methodtest_tool_with_audio_return
(self)
tests/tools/tool/test_tool.py:243
Methodtest_tool_with_auth
(self)
tests/test_fastmcp_app.py:154
Methodtest_tool_with_auth_hidden_without_token
(self)
tests/server/auth/test_authorization.py:438
Methodtest_tool_with_auth_visible_with_token
(self)
tests/server/auth/test_authorization.py:449
Methodtest_tool_with_both_name_args_raises
@tool should raise if both positional and keyword name are given.
tests/tools/test_standalone_decorator.py:179
Methodtest_tool_with_bytes_input
(self)
tests/server/providers/local_provider_tools/test_parameters.py:97
Methodtest_tool_with_description
(self)
tests/test_fastmcp_app.py:147
Methodtest_tool_with_empty_parens
@tool() with empty parentheses should attach metadata.
tests/tools/test_standalone_decorator.py:59
Methodtest_tool_with_execution_field
Test that Tool can store and return execution metadata.
tests/tools/tool/test_tool.py:585
Methodtest_tool_with_field_defaults
Test that tools with annotated arguments work correctly.
tests/server/providers/local_provider_tools/test_decorator.py:243
Methodtest_tool_with_file_return
(self)
tests/tools/tool/test_tool.py:254
Methodtest_tool_with_icons
Test that tools can have icons.
tests/server/test_icons.py:57
Methodtest_tool_with_image_return
(self)
tests/tools/tool/test_tool.py:232
Methodtest_tool_with_invalid_input
(self)
tests/server/providers/local_provider_tools/test_parameters.py:111
Methodtest_tool_with_keyword_capable_parameters
(self)
tests/tools/tool/test_tool.py:379
Functiontest_tool_with_logging
Sends log notifications during execution.
tests/conformance/server.py:155
Methodtest_tool_with_name_arg
@tool("name") with name as first arg should work.
tests/tools/test_standalone_decorator.py:71
Methodtest_tool_with_name_kwarg
@tool(name="name") with keyword arg should work.
tests/tools/test_standalone_decorator.py:83
Methodtest_tool_with_output_schema
Test that output_schema is properly extracted and included.
tests/utilities/test_inspect_icons.py:509
Methodtest_tool_with_positional_only_parameters_not_allowed
(self)
tests/tools/tool/test_tool.py:366
Functiontest_tool_with_progress
Reports progress notifications.
tests/conformance/server.py:166
Methodtest_tool_with_scope_auth_hidden_without_scope
(self)
tests/server/auth/test_authorization.py:466
Methodtest_tool_with_scope_auth_visible_with_scope
(self)
tests/server/auth/test_authorization.py:482
Functiontest_tool_with_task
Gathers input over MRTR, then escalates the final round to a task. The composition is the point: round 1 is a plain `InputRequiredResult` wit
tests/conformance/server.py:707
Methodtest_tool_with_timeout
(self)
tests/test_fastmcp_app.py:162
Methodtest_tool_with_title
Test that tools can have titles and they appear in MCP conversion.
tests/tools/tool/test_title.py:14
Methodtest_tool_with_title_and_meta
Test that title (via annotations) and meta arguments are properly passed through.
tests/contrib/test_mcp_mixin.py:277
← previousnext →12,401–12,500 of 13,374, ranked by callers