P1B: Refactor (packages/opencode/src/tool/mcp-websearch.ts:69): Function with many parameters (count = 7): call
Open
@kath45823 is already working on this.
Since Sep 7, 2026.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 126
- PR merge metrics
- No merged PRs in 30d
Description
Uniqueness check
- I have searched open issues and confirmed this file + smell is not already taken.
Full path to the Typescript file
packages/opencode/src/tool/mcp-websearch.ts
Function(s)/scope targeted
call()
Relevant Qlty output
packages/opencode/src/tool/mcp-websearch.ts
Function with many parameters (count = 7): call
^[]11;rgb:1919/1a1a/1b1b^[\ 69 export const call = <F extends Schema.Struct.Fields>(
70 http: HttpClient.HttpClient,
71 url: string,
72 tool: string,
73 args: Schema.Struct<F>,
74 value: Schema.Struct.Type<F>,
[hid 3 additional lines]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.