File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/server Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ public open class Server(
143143 /* *
144144 * Registers a callback to be invoked when the server has completed initialization.
145145 */
146- public fun onInitalized (block : () -> Unit ) {
146+ public fun onInitialized (block : () -> Unit ) {
147147 val old = _onInitialized
148148 _onInitialized = {
149149 old()
@@ -171,7 +171,7 @@ public open class Server(
171171 }
172172
173173 /* *
174- * Registers a single tool. This tool can then be called by the client .
174+ * Registers a single tool. The client can then call this tool .
175175 *
176176 * @param name The name of the tool.
177177 * @param description A human-readable description of what the tool does.
@@ -266,7 +266,7 @@ public open class Server(
266266 }
267267
268268 /* *
269- * Registers a single prompt. The prompt can then be retrieved by the client .
269+ * Registers a single prompt. The client can then retrieve the prompt .
270270 *
271271 * @param prompt A [Prompt] object describing the prompt.
272272 * @param promptProvider A suspend function that returns the prompt content when requested by the client.
@@ -373,7 +373,7 @@ public open class Server(
373373 }
374374
375375 /* *
376- * Registers a single resource. The resource content can then be read by the client .
376+ * Registers a single resource. The client can then read the resource content .
377377 *
378378 * @param uri The URI of the resource.
379379 * @param name A human-readable name for the resource.
You can’t perform that action at this time.
0 commit comments