We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abb671e commit 448b8f0Copy full SHA for 448b8f0
apps/sim/tools/types.ts
@@ -71,16 +71,16 @@ export interface ToolConfig<P = any, R = any> {
71
}
72
73
>
74
-
+ // Output schema - what this tool produces
75
outputs?: Record<
76
string,
77
{
78
type: 'string' | 'number' | 'boolean' | 'json' | 'file' | 'file[]' | 'array' | 'object'
79
description?: string
80
optional?: boolean
81
fileConfig?: {
82
- mimeType?: string
83
- extension?: string
+ mimeType?: string // Expected MIME type for file outputs
+ extension?: string // Expected file extension
84
85
items?: {
86
type: string
0 commit comments