refactor: rename direct tools to MCP tools across the codebase for consistency

This commit is contained in:
mlogclub
2026-07-26 22:38:38 +08:00
parent 2de50a2f3a
commit 1464008741
14 changed files with 96 additions and 128 deletions
+2 -2
View File
@@ -241,7 +241,7 @@ export type AIAgent = {
knowledgeBaseIds: number[]
skillIds: number[]
skills: { id: number; name: string }[]
directTools: {
mcpTools: {
toolCode: string
serverCode: string
toolName: string
@@ -282,7 +282,7 @@ export type CreateAIAgentPayload = {
fallbackMessage: string
knowledgeBaseIds: number[]
skillIds: number[]
directTools: {
mcpTools: {
toolCode: string
serverCode: string
toolName: string