Skip to content

Commit f2a41da

Browse files
committed
fix(parallel): revert search_queries param type to string for backwards compatibility
1 parent ca74f29 commit f2a41da

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/docs/content/docs/en/tools/parallel_ai.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Search the web using Parallel AI. Provides comprehensive search results with int
4444
| Parameter | Type | Required | Description |
4545
| --------- | ---- | -------- | ----------- |
4646
| `objective` | string | Yes | The search objective or question to answer |
47-
| `search_queries` | json | No | Array of search queries to execute |
47+
| `search_queries` | string | No | Comma-separated list of search queries to execute |
4848
| `mode` | string | No | Search mode: one-shot, agentic, or fast \(default: one-shot\) |
4949
| `max_results` | number | No | Maximum number of results to return \(default: 10\) |
5050
| `max_chars_per_result` | number | No | Maximum characters per result excerpt \(minimum: 1000\) |

apps/sim/tools/parallel/search.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ export const searchTool: ToolConfig<ParallelSearchParams, ToolResponse> = {
1616
description: 'The search objective or question to answer',
1717
},
1818
search_queries: {
19-
type: 'json',
19+
type: 'string',
2020
required: false,
2121
visibility: 'user-or-llm',
22-
description: 'Array of search queries to execute',
22+
description: 'Comma-separated list of search queries to execute',
2323
},
2424
mode: {
2525
type: 'string',

0 commit comments

Comments
 (0)