Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sources/MCP/Server/Tools.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public struct Tool: Hashable, Codable, Sendable {
/// The tool name
public let name: String
/// The tool description
public let description: String
public let description: String?
/// The tool input schema
public let inputSchema: Value

Expand Down Expand Up @@ -85,7 +85,7 @@ public struct Tool: Hashable, Codable, Sendable {
/// Initialize a tool with a name, description, input schema, and annotations
public init(
name: String,
description: String,
description: String?,
inputSchema: Value,
annotations: Annotations = nil
) {
Expand Down