fastmcp/tests
Chris Guidry 22e135fa5a Fix task execution for tools with custom names
When a tool was registered with a custom name different from its function
name, task execution would fail because Docket registered the function by
its `__name__` but the handler looked it up by the tool's configured name.

This switches to using Docket's new `names=` parameter (pydocket 0.16.0)
to register functions with their proper lookup keys, and removes the
`_create_named_fn_wrapper` hack that was used for mounted servers.

Closes #2642

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 11:36:34 -05:00
..
cli Remove enable_docket setting; Docket is now always on 2025-12-05 11:40:04 -05:00
client Convert mounted servers to MountedProvider (#2635) 2025-12-17 22:21:51 -05:00
contrib feat: Add title, annotations and meta to mixin decorators 2025-10-10 14:23:02 +05:30
deprecated Deprecate exclude_args in favor of Depends() (#2621) 2025-12-14 21:24:08 -05:00
experimental Unify SamplingHandler and promote OpenAI handler (#2616) 2025-12-14 15:22:43 -05:00
integration_tests Improve rate limit detection for integration tests 2025-12-04 11:52:40 -05:00
prompts Revert "Revert "Refactor prompt behavior and add meta support (#2600)" (#2608)" (#2610) 2025-12-14 21:52:20 -05:00
resources Revert "Revert "Refactor resource behavior and add meta support (#2598)" (#2609)" (#2611) 2025-12-14 21:36:40 -05:00
server Fix task execution for tools with custom names 2025-12-18 11:36:34 -05:00
tools Convert mounted servers to MountedProvider (#2635) 2025-12-17 22:21:51 -05:00
utilities Fix: Include signature modification in create_function_without_params (#2563) 2025-12-06 11:57:36 -05:00
__init__.py Update type handling for resources 2024-11-29 19:42:46 -05:00
conftest.py Use WindowsSelectorEventLoopPolicy to fix Windows test warnings (#2607) 2025-12-14 08:39:44 -05:00
test_mcp_config.py Bump ty to ==0.0.1a25 (#2350) 2025-11-02 20:02:45 -05:00