Skip to content

Commit 91e7561

Browse files
committed
Add taskHint
1 parent 3576adc commit 91e7561

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/mcp/types.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,6 +1165,14 @@ class ToolAnnotations(BaseModel):
11651165
of a memory tool is not.
11661166
Default: true
11671167
"""
1168+
1169+
taskHint: bool | None = None
1170+
"""
1171+
If true, this tool is expected to support task-augmented execution.
1172+
This allows clients to handle long-running operations through polling
1173+
the task system.
1174+
Default: false
1175+
"""
11681176
model_config = ConfigDict(extra="allow")
11691177

11701178

0 commit comments

Comments
 (0)