Serializes the tool to a JSON map.
Map<String, Object?> toJson() => { _Json.name: name, _Json.description: description, _Json.inputSchema: inputSchema.value, };