SyncResourceSpecificationFactory

Convenience factory for creating McpServerFeatures.SyncResourceSpecification instances.

Functions

Link copied to clipboard
fun staticSyncResourceSpecification(uri: String, name: String, description: String, content: String, mimeType: String = "text/plain"): <Error class: unknown class>
Link copied to clipboard
fun syncResourceSpecification(uri: String, name: String, description: String, resourceLoader: (<Error class: unknown class>) -> String, mimeType: String = "text/plain"): <Error class: unknown class>