MCPcopy
hub / github.com/MiniMax-AI/cli / query

Method query

src/sdk/search/index.ts:16–25  ·  view source on GitHub ↗
(query: string)

Source from the content-addressed store, hash-verified

14
15export class SearchSDK extends Client {
16 async query(query: string): Promise<SearchResponse> {
17 const url = searchEndpoint(this.config.baseUrl);
18 const res = await this.requestJson<SearchResponse>({
19 url,
20 method: 'POST',
21 body: { q: query },
22 });
23
24 return res;
25 }
26}

Callers 1

search.test.tsFile · 0.80

Calls 1

searchEndpointFunction · 0.90

Tested by

no test coverage detected