DiscoverResult
data class DiscoverResult(val supportedVersions: List<String>, val capabilities: ServerCapabilities, val instructions: String? = null, val resultType: String = COMPLETE_RESULT_TYPE, val ttlMs: Long = 0, val cacheScope: CacheScope = CacheScope.Private, val meta: JsonObject? = null) : ServerResult(source)
Result returned by server/discover.
Throws
if ttlMs is negative
Constructors
Link copied to clipboard
constructor(supportedVersions: List<String>, capabilities: ServerCapabilities, instructions: String? = null, resultType: String = COMPLETE_RESULT_TYPE, ttlMs: Long = 0, cacheScope: CacheScope = CacheScope.Private, meta: JsonObject? = null)
Properties
Link copied to clipboard
authorization boundary within which the result may be reused
Link copied to clipboard
capabilities advertised by the server
Link copied to clipboard
optional guidance for clients using the server
Link copied to clipboard
optional response metadata, including optional server information
Link copied to clipboard
discriminator for the result representation
Link copied to clipboard
protocol versions supported by the server