Skip to content
Merged
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion src/tools/tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export abstract class ToolBase {
let errorClarification: string | undefined;

// Check read-only mode first
if (this.config.readOnly && !["read", "metadata"].includes(this.operationType)) {
if (this.config.readOnly && !["read", "metadata", "connect"].includes(this.operationType)) {
errorClarification = `read-only mode is enabled, its operation type, \`${this.operationType}\`,`;
} else if (this.config.disabledTools.includes(this.category)) {
errorClarification = `its category, \`${this.category}\`,`;
Expand Down
Loading