We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71693c3 commit 68fc864Copy full SHA for 68fc864
apps/sim/tools/types.ts
@@ -93,7 +93,7 @@ export interface ToolConfig<P = any, R = any> {
93
url: string | ((params: P) => string)
94
method: HttpMethod | ((params: P) => HttpMethod)
95
headers: (params: P) => Record<string, string>
96
- body?: (params: P) => Record<string, any> | string
+ body?: (params: P) => Record<string, any> | string | undefined
97
}
98
99
// Post-processing (optional) - allows additional processing after the initial request
0 commit comments