GetPrompt gets a prompt from the server.
(ctx context.Context, params *GetPromptParams)
| 976 | |
| 977 | // GetPrompt gets a prompt from the server. |
| 978 | func (cs *ClientSession) GetPrompt(ctx context.Context, params *GetPromptParams) (*GetPromptResult, error) { |
| 979 | return handleSend[*GetPromptResult](ctx, methodGetPrompt, newClientRequest(cs, orZero[Params](params))) |
| 980 | } |
| 981 | |
| 982 | // ListTools lists tools that are currently available on the server. |
| 983 | func (cs *ClientSession) ListTools(ctx context.Context, params *ListToolsParams) (*ListToolsResult, error) { |