Skip to content

Commit f397783

Browse files
jayhemnani9910Jay HemnaniKludex
authored
fix: add explicit type annotation for call_tool decorator (#1826)
Co-authored-by: Jay Hemnani <jayhemnani9910@gmail.com> Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
1 parent 201de92 commit f397783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/server/lowlevel/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ def call_tool(self, *, validate_input: bool = True):
499499

500500
def decorator(
501501
func: Callable[
502-
...,
502+
[str, dict[str, Any]],
503503
Awaitable[
504504
UnstructuredContent
505505
| StructuredContent

0 commit comments

Comments
 (0)