Spaces:
Sleeping
Sleeping
Commit History
-
Ensure transformed tools generate structured content (#1443)
Jeremiah LowinUnverified signatured0abf98
-
Add meta parameter support to tools, resources, templates, and prompts decorators (#1294)
Jeremiah LowinUnverified signature0907e77
-
Fix tool output schema generation to respect Pydantic serialization aliases (#1148)
nate nowack +1: ClaudeUnverified signatureCo-authored-by: Claude <noreply@anthropic.com>1b5fe32
-
Fix single-element list unwrapping in tool content
Jeremiah Lowin +1: ClaudeSingle-element lists like [1] were being incorrectly unwrapped to "1" in unstructured content while multi-element lists remained as lists. This created inconsistent behavior where the structure was lost for single items. This fix ensures lists always preserve their structure in unstructured content regardless of length, making behavior consistent and predictable. Also removes pretty-printing from JSON serialization for more compact output across tools, prompts, and resources. Fixes #1064 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>ff32168
-
Avoid propagating logs (#1042)
Jeremiah LowinUnverified signature* Avoid propagating logs * Set up caplog for non-root loggers * Update tests6acea03
-
Fix schema wrapping for non-object union types in output schemas
Jeremiah Lowin677a8fb
-
Add tests for title priority logic in tools
Jeremiah Lowin +1: Claude- Test that explicit title takes priority over annotations.title - Test that annotations.title is used as fallback when no explicit title - Ensures the improved to_mcp_tool logic works correctly - Add proper type guards for annotations None checks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>3caabbd -
Add title field support to FastMCP components
Jeremiah Lowin +1: Claude- Add optional title field to FastMCPComponent base class - Support title parameter in all component decorators (@tool, @resource, @prompt) - Include title in MCP protocol serialization when provided - Add get_display_name() method to prefer title over name for display - Add comprehensive tests for title functionality 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>226fdf7 -
Update docs
Jeremiah Lowind4466da -
Update failing tests
Jeremiah Lowin5e0db17 -
Update typing
Jeremiah Lowin743f189 -
Update all tests
Jeremiah Lowin3a9d761 -
Update output schema control
Jeremiah Lowinebdeab3
-
Add structured content & update almost all tests
Jeremiah Lowinaa46c09
-
Merge branch 'main' into output-schema
Jeremiah Lowin6572dc8 -
Remove legacy json parsing
Jeremiah LowinBecause the server now validates inputs, its no longer viable to provide a JSON string where e.g. an array is expected, so we can entirely remove FastMCP's "legacy json parsing" support from 1.x. This is a breaking change (for legacy opt-in behavior)6ea503a
-
Add output schema to tool decorator
Jeremiah Lowinc903d7b -
Add output schema to tools
Jeremiah Lowin11ebe03 -
Update types and tests for upcoming SDK release
Jeremiah Lowin3c4246c
-
Add missing tests
Goro135c70a -
Run pre-commit and fix typing issues
Goro1b1304a
-
Add file utility type and tests
Goro2dc14d6
-
Add tests
Jeremiah Lowin8ad9001 -
Deprecate top-level import
Jeremiah Lowin6bf02ba
-
Remove empty parens
Jeremiah Lowin09438a8 -
Use strict basemodel for Prompt; relax from_function deprecation
Jeremiah Lowin873479e -
Merge branch 'main' into transform-tools
Jeremiah Lowin7213715 -
Split Tool into Tool and FunctionTool
Jeremiah Lowincba81f4
-
Fix missing import
William EastonUnverified signature98c0979 -
Merge branch 'main' into tool_tests
Unverified signature06b5c13
-
Update test typing
Jeremiah Lowind4fceae
-
Apply suggestions from code review
Unverified signatureCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>12077f6 -
add test for list case and lint
William EastonUnverified signatureb62084c -
Add content tests, fix array wrapping single objects
William EastonUnverified signaturee592cc8
-
Ensure that tools/templates/prompts are compatible with callable objects
Jeremiah Lowinacef890
-
Improve handling of exceptiongroups when raised in clients
Jeremiah Lowin177d39a
-
Improve error handling for tools and resources
Jeremiah Lowin2c75133
-
create a setting for legacy parsing
Jeremiah Lowin19fcaf8
-
Handle args/kwargs appropriately for various objects
Jeremiah Lowinef81ec0 -
Remove is_async attribute
Jeremiah Lowine6aef11 -
Update test_tool.py
Jeremiah Lowin3cab9c3 -
Replace custom parsing with TypeAdapter
Jeremiah Lowin388409a