Skip to content

Commit c2bd1fa

Browse files
authored
feat: add agencyHint to ToolAnnotations
Add agencyHint parameter to ToolExecution class
1 parent a3a4b8d commit c2bd1fa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/mcp/types.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,6 +1290,12 @@ class ToolAnnotations(BaseModel):
12901290
Default: true
12911291
"""
12921292

1293+
agencyHint: bool | None = None
1294+
"""
1295+
If true, this tool encapsulates an internal “agent loop” (e.g., plan–act–observe cycles, tool-chaining, or autonomous retries).
1296+
Default: false
1297+
"""
1298+
12931299
model_config = ConfigDict(extra="allow")
12941300

12951301

0 commit comments

Comments
 (0)