Skip to content

Commit 31fa614

Browse files
committed
Make Tool.description optional
1 parent f1b50e6 commit 31fa614

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/MCP/Server/Tools.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public struct Tool: Hashable, Codable, Sendable {
1212
/// The tool name
1313
public let name: String
1414
/// The tool description
15-
public let description: String
15+
public let description: String?
1616
/// The tool input schema
1717
public let inputSchema: Value
1818

0 commit comments

Comments
 (0)