File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,13 @@ type SessionWithElicitation interface {
5959 RequestElicitation (ctx context.Context , request mcp.ElicitationRequest ) (* mcp.ElicitationResult , error )
6060}
6161
62+ // SessionWithElicitation is an extension of ClientSession that can send elicitation requests
63+ type SessionWithElicitation interface {
64+ ClientSession
65+ // RequestElicitation sends an elicitation request to the client and waits for response
66+ RequestElicitation (ctx context.Context , request mcp.ElicitationRequest ) (* mcp.ElicitationResult , error )
67+ }
68+
6269// SessionWithStreamableHTTPConfig extends ClientSession to support streamable HTTP transport configurations
6370type SessionWithStreamableHTTPConfig interface {
6471 ClientSession
You can’t perform that action at this time.
0 commit comments