(ctx: Context)
| 250 | |
| 251 | @mcp.tool() |
| 252 | async def chatter(ctx: Context) -> str: |
| 253 | await ctx.debug("noise") # pyright: ignore[reportDeprecated] |
| 254 | await ctx.error("signal") # pyright: ignore[reportDeprecated] |
| 255 | return "done" |
| 256 | |
| 257 | async def collect(params: LoggingMessageNotificationParams) -> None: |
| 258 | received.append(params) |