v0.1.6
0.1.6 (2025-02-17)
Features
-
implement new utility functions (#24) (859b5db)
New functions
New functions provided by `MCPMessage` , available on `ClientMessage` and `ServerMessage`:message.is_request(): Returns true if the message is a response typemessage.is_response(): Returns true if the message is a request typemessage.is_notification(): Returns true if the message is a notification typemessage.is_error(): Returns true if the message represents an errormessage.request_id(): Retrieves the request ID associated with the message, if applicable