File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ package io.modelcontextprotocol.kotlin.sdk
5
5
import io.modelcontextprotocol.kotlin.sdk.shared.McpJson
6
6
import kotlinx.serialization.EncodeDefault
7
7
import kotlinx.serialization.ExperimentalSerializationApi
8
- import kotlinx.serialization.SerialName
9
8
import kotlinx.serialization.Serializable
10
9
import kotlinx.serialization.json.JsonElement
11
10
import kotlinx.serialization.json.JsonObject
@@ -1046,7 +1045,6 @@ public data class Tool(
1046
1045
/* *
1047
1046
* A JSON object defining the expected parameters for the tool.
1048
1047
*/
1049
- @SerialName(" input_schema" )
1050
1048
val inputSchema : Input ,
1051
1049
) {
1052
1050
@Serializable
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class ToolSerializationTest {
17
17
{
18
18
"name": "get_weather",
19
19
"description": "Get the current weather in a given location",
20
- "input_schema ": {
20
+ "inputSchema ": {
21
21
"type": "object",
22
22
"properties": {
23
23
"location": {
You can’t perform that action at this time.
0 commit comments