ServerCapabilities constructor

const ServerCapabilities({
  1. bool tools = false,
  2. bool toolsListChanged = false,
  3. bool resources = false,
  4. bool resourcesListChanged = false,
  5. bool prompts = false,
  6. bool promptsListChanged = false,
  7. bool logging = false,
  8. bool sampling = false,
})

Create a capabilities object with specified settings

Implementation

const ServerCapabilities({
  this.tools = false,
  this.toolsListChanged = false,
  this.resources = false,
  this.resourcesListChanged = false,
  this.prompts = false,
  this.promptsListChanged = false,
  this.logging = false,
  this.sampling = false,
});