Skip to content
Prev Previous commit
Next Next commit
Removed mime type from append block
  • Loading branch information
Theodore Li committed Mar 30, 2026
commit 2d768811bde1cc2bd3eb7dda65893be817a65314
8 changes: 0 additions & 8 deletions apps/sim/tools/file/append.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { ToolConfig, ToolResponse, WorkflowToolExecutionContext } from '@/t
interface FileAppendParams {
fileName: string
content: string
contentType?: string
workspaceId?: string
_context?: WorkflowToolExecutionContext
}
Expand All @@ -28,12 +27,6 @@ export const fileAppendTool: ToolConfig<FileAppendParams, ToolResponse> = {
visibility: 'user-or-llm',
description: 'The text content to append to the file.',
},
contentType: {
type: 'string',
required: false,
visibility: 'user-only',
description: 'MIME type (e.g., "text/plain"). Auto-detected from file extension if omitted.',
},
},

request: {
Expand All @@ -44,7 +37,6 @@ export const fileAppendTool: ToolConfig<FileAppendParams, ToolResponse> = {
operation: 'append',
fileName: params.fileName,
content: params.content,
contentType: params.contentType,
workspaceId: params.workspaceId || params._context?.workspaceId,
}),
},
Expand Down
Loading