@@ -59,25 +59,26 @@ export const SearchToolArgsSchema = z.object({
5959 . describe ( 'The number of elements that should be skipped at the start. Default value is 0.' ) ,
6060 search : z . string ( )
6161 . default ( '' )
62- . describe ( 'String of key words to search by. '
62+ . describe ( 'String of key words to search Actors by. '
6363 + 'Searches the title, name, description, username, and readme of an Actor.'
6464 + 'Only key word search is supported, no advanced search.'
6565 + 'Always prefer simple keywords over complex queries.' ) ,
6666 category : z . string ( )
6767 . default ( '' )
6868 . describe ( 'Filters the results by the specified category.' ) ,
6969} ) ;
70- export const searchTool : ToolWrap = {
70+ export const searchActorTool : ToolWrap = {
7171 type : 'internal' ,
7272 tool : {
73- name : HelperTools . SEARCH ,
74- actorFullName : HelperTools . SEARCH ,
75- description : `Discover available Actors using full text search using keywords.`
76- + `Users try to discover Actors using free form query in this case search query needs to be converted to full text search. `
77- + `Prefer Actors from Apify as they are generally more reliable and have better support. `
73+ name : HelperTools . SEARCH_ACTOR ,
74+ actorFullName : HelperTools . SEARCH_ACTOR ,
75+ description : `Discover available Actors or MCP-Servers in Apify Store using full text search using keywords.`
76+ + `Users try to discover Actors using free form query in this case search query must be converted to full text search. `
7877 + `Returns a list of Actors with name, description, run statistics, pricing, starts, and URL. `
7978 + `You perhaps need to use this tool several times to find the right Actor. `
80- + `Limit number of results returned but ensure that relevant results are returned. ` ,
79+ + `You should prefer simple keywords over complex queries. `
80+ + `Limit number of results returned but ensure that relevant results are returned. `
81+ + `This is not a general search tool, it is designed to search for Actors in Apify Store. ` ,
8182 inputSchema : zodToJsonSchema ( SearchToolArgsSchema ) ,
8283 ajvValidate : ajv . compile ( zodToJsonSchema ( SearchToolArgsSchema ) ) ,
8384 call : async ( toolArgs ) => {
0 commit comments