MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Functiontest_tool_call_fails_when_parameter_map_cannot_be_built
( monkeypatch: pytest.MonkeyPatch, )
tests/server/providers/openapi/test_undeclared_arguments.py:156
Methodtest_tool_call_filtering
Test tool filtering logic.
tests/server/middleware/test_caching.py:279
Methodtest_tool_call_returns_prefab_structured_content
(self)
tests/test_apps_prefab.py:379
Methodtest_tool_call_span_has_protocol_version
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_server_tracing.py:725
Functiontest_tool_call_timeout_may_exceed_client_timeout
A per-call timeout longer than the client's is not cut short by the HTTP read timeout.
tests/integration_tests/test_timeout_fix.py:56
Methodtest_tool_call_with_custom_text
(self)
tests/test_apps_prefab.py:396
Functiontest_tool_call_with_media_type_defs
()
tests/utilities/openapi/test_inline_defs.py:221
Methodtest_tool_call_with_overridden_name
Test that overridden tool can be called by its new name.
tests/server/mount/test_advanced.py:434
Methodtest_tool_calling_a_tool
(self, trace_exporter: InMemorySpanExporter)
tests/server/telemetry/test_provider_tracing.py:243
Methodtest_tool_calling_task_tool_gets_its_result
(self)
tests/tasks/server/test_task_catalog_transforms.py:144
Functiontest_tool_change_arg_description
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:172
Functiontest_tool_change_arg_name
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:161
Methodtest_tool_custom_name
(self)
tests/test_fastmcp_app.py:62
Methodtest_tool_custom_name_in_provider
(self)
tests/test_fastmcp_app.py:100
Methodtest_tool_decorator
(self)
tests/server/providers/local_provider_tools/test_decorator.py:50
Methodtest_tool_decorator_async_function
(self)
tests/server/providers/local_provider_tools/test_decorator.py:137
Methodtest_tool_decorator_classmethod
(self)
tests/server/providers/local_provider_tools/test_decorator.py:111
Methodtest_tool_decorator_classmethod_async_function
(self)
tests/server/providers/local_provider_tools/test_decorator.py:158
Methodtest_tool_decorator_classmethod_error
(self)
tests/server/providers/local_provider_tools/test_decorator.py:147
Methodtest_tool_decorator_conflicting_names_error
Test that providing both positional and keyword name raises an error.
tests/server/providers/local_provider_tools/test_decorator.py:303
Methodtest_tool_decorator_delegates_to_local_provider
Test that @mcp.tool registers with the local provider.
tests/server/test_server.py:56
Methodtest_tool_decorator_instance_method
(self)
tests/server/providers/local_provider_tools/test_decorator.py:96
Methodtest_tool_decorator_registers
Tool decorator should register in _components.
tests/server/providers/test_local_provider.py:307
Methodtest_tool_decorator_staticmethod
(self)
tests/server/providers/local_provider_tools/test_decorator.py:125
Methodtest_tool_decorator_staticmethod_async_function
(self)
tests/server/providers/local_provider_tools/test_decorator.py:172
Methodtest_tool_decorator_staticmethod_order
Test that the recommended decorator order works for static methods
tests/server/providers/local_provider_tools/test_decorator.py:184
Methodtest_tool_decorator_with_custom_name_registers
Tool with custom name should register under that name.
tests/server/providers/test_local_provider.py:318
Methodtest_tool_decorator_with_description
(self)
tests/server/providers/local_provider_tools/test_decorator.py:84
Methodtest_tool_decorator_with_meta
Test that meta parameter is passed through the tool decorator.
tests/server/providers/local_provider_tools/test_decorator.py:327
Methodtest_tool_decorator_with_name
(self)
tests/server/providers/local_provider_tools/test_decorator.py:74
Methodtest_tool_decorator_with_output_schema
(self)
tests/server/providers/local_provider_tools/test_decorator.py:316
Methodtest_tool_decorator_with_string_name
Test that @tool("custom_name") syntax works correctly.
tests/server/providers/local_provider_tools/test_decorator.py:287
Methodtest_tool_decorator_with_tags
Test that the tool decorator properly sets tags.
tests/server/providers/local_provider_tools/test_decorator.py:197
Methodtest_tool_decorator_with_tags
Test that the tool decorator properly sets tags.
tests/server/providers/local_provider_tools/test_context.py:113
Methodtest_tool_decorator_without_parentheses
Test that @tool decorator works without parentheses.
tests/server/providers/local_provider_tools/test_decorator.py:60
Methodtest_tool_default_visibility_app_only
(self)
tests/test_fastmcp_app.py:123
Functiontest_tool_defaults_are_maintained_on_mapped_args
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:152
Functiontest_tool_defaults_are_maintained_on_unmapped_args
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:143
Methodtest_tool_direct_call
provider.tool(fn) should register the function.
tests/server/providers/test_local_provider.py:329
Methodtest_tool_direct_function_call
Test that tools can be registered via direct function call.
tests/server/providers/local_provider_tools/test_decorator.py:259
Methodtest_tool_disable_raises_not_implemented
Test that Tool.disable() raises NotImplementedError.
tests/utilities/test_components.py:304
Methodtest_tool_disabled_via_server
(self)
tests/server/providers/local_provider_tools/test_enabled.py:65
Functiontest_tool_drop_arg
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:179
Methodtest_tool_empty_parens
(self)
tests/test_fastmcp_app.py:53
Methodtest_tool_enable_raises_not_implemented
Test that Tool.enable() raises NotImplementedError.
tests/utilities/test_components.py:297
Methodtest_tool_enabled_false
Tool with enabled=False should add a Visibility transform.
tests/server/providers/test_local_provider.py:340
Methodtest_tool_enabled_false_not_listed
Disabled tool should not appear in get_tools (filtering happens at server level).
tests/server/providers/test_local_provider.py:359
Methodtest_tool_enabled_false_skips_registration
(self)
tests/contrib/test_mcp_mixin.py:465
Methodtest_tool_enabled_true_registers_normally
(self)
tests/contrib/test_mcp_mixin.py:519
Methodtest_tool_error_with_custom_log_level
ToolError with custom log_level should log at specified level.
tests/client/client/test_error_handling.py:361
Methodtest_tool_exclude_args_kwarg_removed
(self)
tests/test_upgrade_from_v3.py:309
Methodtest_tool_execution_forbidden_mode
Test that Tool can store forbidden execution mode.
tests/tools/tool/test_tool.py:738
Methodtest_tool_execution_parameter_mapping
Colliding path and body parameters reach the right parts of the request.
tests/server/providers/openapi/test_end_to_end_compatibility.py:167
Methodtest_tool_execution_required_mode
Test that Tool can store required execution mode.
tests/tools/tool/test_tool.py:725
Methodtest_tool_execution_with_serialization_alias
Test that tool execution works correctly with serialization aliases.
tests/tools/tool/test_results.py:294
Methodtest_tool_fallback_allows_authorized_user
Fallback should return auth-protected v1 to authorized users.
tests/server/versioning/test_visibility_version_fallback.py:281
Methodtest_tool_fallback_respects_auth
Disabling v2 should not expose auth-protected v1 to unauthorized users.
tests/server/versioning/test_visibility_version_fallback.py:263
Methodtest_tool_filtering
Test that tool filtering only applies to specified tools.
tests/server/middleware/test_response_limiting.py:66
Methodtest_tool_from_function_with_icons
Test creating a tool from a function with icons.
tests/server/test_icons.py:76
Functiontest_tool_from_tool_no_change
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:43
Methodtest_tool_function_still_callable
Decorated function should still be directly callable.
tests/tools/test_standalone_decorator.py:144
Functiontest_tool_functionality_with_annotations
Test that tool functionality is preserved when using annotations.
tests/server/test_tool_annotations.py:197
Methodtest_tool_has_app_name_in_meta
(self)
tests/test_fastmcp_app.py:111
Methodtest_tool_has_output_schema
Test that tools have output schemas from response definitions.
tests/server/providers/openapi/test_openapi_features.py:409
Methodtest_tool_has_tool_prefix
Test that Tool has 'tool' KEY_PREFIX.
tests/utilities/test_components.py:201
Methodtest_tool_icons
Test that tool icons are extracted.
tests/utilities/test_inspect_icons.py:56
Methodtest_tool_inherits_poll_interval
Tool should inherit poll_interval from TaskConfig.
tests/tasks/server/test_task_config.py:319
Functiontest_tool_inherits_server_default_false
A tool inherits the server's tasks=False default and runs synchronously.
tests/tasks/server/test_server_tasks_parameter.py:43
Functiontest_tool_inherits_server_default_true
A tool inherits the server's tasks=True default and tasks when opted in.
tests/tasks/server/test_server_tasks_parameter.py:29
Methodtest_tool_input_schema_bridged
(self)
tests/test_compat.py:45
Methodtest_tool_int_coercion
Test that string ints are coerced by default.
tests/server/providers/local_provider_tools/test_parameters.py:126
Functiontest_tool_json_preserves_resource
()
tests/cli/test_content_json.py:108
Methodtest_tool_json_schema_generation
Verify Tool.model_json_schema() works without errors.
tests/test_json_schema_generation.py:18
Methodtest_tool_key_property
Test that Tool.key returns prefixed key with version sentinel.
tests/utilities/test_components.py:221
Methodtest_tool_list_changed_evicts
A `notifications/tools/list_changed` routed through the composed message handler evicts the cached tools/list entry.
tests/client/client/test_response_cache.py:119
Methodtest_tool_middleware_three_levels
Middleware runs at parent, child, and grandchild levels for tools.
tests/server/providers/test_fastmcp_provider.py:305
Methodtest_tool_mixed_content
(self, tool_server: FastMCP)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:172
Methodtest_tool_mixed_list_with_audio
Test that lists containing Audio objects and other types are handled correctly. Items now preserve their original order.
tests/server/providers/local_provider_tools/test_local_provider_tools.py:220
Methodtest_tool_mixed_list_with_file
Test that lists containing File objects and other types are handled correctly. Items now preserve their original order.
tests/server/providers/local_provider_tools/test_local_provider_tools.py:247
Methodtest_tool_mixed_list_with_image
Test that lists containing Image objects and other types are handled correctly. Items now preserve their original order.
tests/server/providers/local_provider_tools/test_local_provider_tools.py:193
Methodtest_tool_model_visibility
(self)
tests/test_fastmcp_app.py:135
Functiontest_tool_name_collisions_are_rejected
()
tests/client/group/test_client_group.py:243
Methodtest_tool_name_conflict_raises
(self)
tests/test_fastmcp_app.py:80
Methodtest_tool_name_derived_from_model
(self)
tests/apps/test_form.py:40
Functiontest_tool_name_falls_back_to_method_and_path
(operation: dict[str, Any])
tests/server/providers/openapi/test_default_names.py:34
Methodtest_tool_name_is_shell_quoted_in_invocation
(self)
tests/cli/test_generate_cli.py:979
Methodtest_tool_name_kwarg
(self)
tests/test_fastmcp_app.py:71
Methodtest_tool_name_newlines_are_flattened_in_heading
(self)
tests/cli/test_generate_cli.py:1002
Methodtest_tool_name_too_long_warns
Tool names exceeding 128 characters should produce a warning.
tests/tools/tool/test_tool.py:635
Methodtest_tool_name_with_invalid_chars_warns
Tool names with invalid characters should produce a warning.
tests/tools/tool/test_tool.py:624
Methodtest_tool_name_with_leading_dash_warns
Tool names starting with dash should produce a warning.
tests/tools/tool/test_tool.py:647
Methodtest_tool_name_with_spaces_warns
Tool names with spaces should produce a warning.
tests/tools/tool/test_tool.py:613
Functiontest_tool_named_like_a_script_global
(name: str)
tests/cli/test_generate_cli_tool_names.py:12
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:323
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
← previousnext →14,701–14,800 of 15,974, ranked by callers