mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-23 05:54:19 +02:00
allow dicts to be passed as annotations
This commit is contained in:
parent
3deddf542e
commit
cf56bdd15e
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ def mcp_tool(
|
|||
name: str | None = None,
|
||||
description: str | None = None,
|
||||
tags: set[str] | None = None,
|
||||
annotations: ToolAnnotations | None = None,
|
||||
annotations: ToolAnnotations | dict[str, Any] | None = None,
|
||||
exclude_args: list[str] | None = None,
|
||||
serializer: Callable[[Any], str] | None = None,
|
||||
enabled: bool | None = None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue