Merge branch 'main' into main

This commit is contained in:
Ateş Göral 2025-09-13 17:11:23 -04:00 • committed by GitHub
commit cd4681351d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -124,8 +124,8 @@ Notifications follow the JSON-RPC 2.0 specification and use these method names:
#### Transport Support
- **HTTP Transport**: Notifications are sent as Server-Sent Events (SSE) to all connected sessions
- **Stdio Transport**: Notifications are sent as JSON-RPC 2.0 messages to stdout
- **stdio**: Notifications are sent as JSON-RPC 2.0 messages to stdout
- **Streamable HTTP**: Notifications are sent as JSON-RPC 2.0 messages over HTTP with streaming (chunked transfer or SSE)
#### Usage Example
@ -456,6 +456,9 @@ Tools can include annotations that provide additional metadata about their behav
Annotations can be set either through the class definition using the `annotations` class method or when defining a tool using the `define` method.
> [!NOTE]
> This **Tool Annotations** feature is supported starting from `protocol_version: '2025-03-26'`.
### Tool Output Schemas
Tools can optionally define an `output_schema` to specify the expected structure of their results. This works similarly to how `input_schema` is defined and can be used in three ways: