Tools.json 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. AVAILABLE TOOLS AND THEIR JSON SCHEMAS:
  2. 1. mcp_bulk_file_writer
  3. Description: Write multiple files simultaneously for improved performance
  4. Parameters:
  5. {
  6. "files": {
  7. "type": "array",
  8. "items": {
  9. "type": "object",
  10. "properties": {
  11. "path": {"type": "string", "description": "Absolute path to the file"},
  12. "content": {"type": "string", "description": "Raw text content for the file"}
  13. },
  14. "required": ["path", "content"]
  15. }
  16. },
  17. "capture_logs_backend": {"type": "boolean", "default": false},
  18. "capture_logs_frontend": {"type": "boolean", "default": false},
  19. "status": {"type": "boolean", "default": false}
  20. }
  21. 2. emergent_integrations_manager
  22. Description: Get the Emergent LLM key for llm integration (openai, anthropic, google)
  23. Parameters: {}
  24. 3. extract_file_tool
  25. Description: Extract specific structured data from document files
  26. Supported formats: .txt, .js, .py, .html, .css, .json, .xml, .csv, .md, .pdf, .docx, .xlsx, .pptx, .png, .jpg, .jpeg, .webp, .heic, .heif, .wav, .mp3, .mpeg, .aiff, .aac, .ogg, .flac, .mov, .mpeg, .mp4, .mpg, .avi, .wmv, .mpegps, .flv
  27. Parameters:
  28. {
  29. "source": {"type": "string", "description": "Direct URL or local file path"},
  30. "prompt": {"type": "string", "description": "What specific data to extract"},
  31. "headers": {"type": "object", "description": "Additional HTTP headers (optional)"},
  32. "timeout": {"type": "integer", "default": 30}
  33. }
  34. 4. ask_human
  35. Description: Ask human user for clarification, additional info, confirmation, or feedback
  36. Parameters:
  37. {
  38. "question": {"type": "string", "description": "The question to ask from human"}
  39. }
  40. 5. analyze_file_tool
  41. Description: AI-powered analysis on document files for insights and patterns
  42. Supported formats: Same as extract_file_tool
  43. Parameters:
  44. {
  45. "source": {"type": "string"},
  46. "analysis_type": {"type": "string", "enum": ["general", "structure", "content", "sentiment", "security", "performance", "compliance", "custom"]},
  47. "query": {"type": "string", "description": "Specific analysis question (optional)"},
  48. "headers": {"type": "object"},
  49. "timeout": {"type": "integer", "default": 30}
  50. }
  51. 6. mcp_glob_files
  52. Description: Fast file pattern matching with glob patterns
  53. Parameters:
  54. {
  55. "pattern": {"type": "string", "description": "The glob pattern to match files against"},
  56. "path": {"type": "string", "description": "Directory to search in (optional)"}
  57. }
  58. 7. execute_bash
  59. Description: Execute a bash command in the terminal
  60. Parameters:
  61. {
  62. "command": {"type": "string", "description": "The bash command to execute"}
  63. }
  64. 8. grep_tool
  65. Description: Search file contents using ripgrep with regex patterns
  66. Parameters:
  67. {
  68. "pattern": {"type": "string", "description": "The regex pattern to search for"},
  69. "path": {"type": "string", "description": "Directory or file to search in"},
  70. "case_sensitive": {"type": "boolean"},
  71. "context_lines": {"type": "integer"},
  72. "include": {"type": "string", "description": "File patterns to include"}
  73. }
  74. 9. mcp_view_file
  75. Description: View file or directory contents
  76. Parameters:
  77. {
  78. "path": {"type": "string", "description": "The absolute path to the file to view"},
  79. "view_range": {"type": "array", "items": {"type": "integer"}, "description": "Optional line range [start, end]"}
  80. }
  81. 10. mcp_search_replace
  82. Description: Search and replace exact string in file
  83. Parameters:
  84. {
  85. "path": {"type": "string"},
  86. "old_str": {"type": "string", "description": "Exact string to replace - must match EXACTLY"},
  87. "new_str": {"type": "string", "description": "Replacement string"},
  88. "replace_all": {"type": "boolean", "default": false},
  89. "run_lint": {"type": "boolean", "default": false},
  90. "status": {"type": "boolean", "default": false}
  91. }
  92. 11. mcp_lint_python
  93. Description: Python linting using ruff
  94. Parameters:
  95. {
  96. "path_pattern": {"type": "string", "description": "File/directory path or glob pattern"},
  97. "fix": {"type": "boolean", "default": false},
  98. "exclude_patterns": {"type": "array", "items": {"type": "string"}}
  99. }
  100. 12. mcp_lint_javascript
  101. Description: JavaScript/TypeScript linting using ESLint
  102. Parameters:
  103. {
  104. "path_pattern": {"type": "string"},
  105. "fix": {"type": "boolean", "default": false},
  106. "exclude_patterns": {"type": "array", "items": {"type": "string"}}
  107. }
  108. 13. mcp_create_file
  109. Description: Create a new file with specified content
  110. Parameters:
  111. {
  112. "path": {"type": "string", "description": "The absolute path for the new file"},
  113. "file_text": {"type": "string", "description": "Content for the new file"},
  114. "run_lint": {"type": "boolean", "default": false}
  115. }
  116. 14. mcp_insert_text
  117. Description: Insert text at a specific line number in a file
  118. Parameters:
  119. {
  120. "path": {"type": "string"},
  121. "new_str": {"type": "string"},
  122. "insert_line": {"type": "integer", "minimum": 0},
  123. "run_lint": {"type": "boolean", "default": false}
  124. }
  125. 15. finish
  126. Description: Provide concise summary for clarity and handoff
  127. Parameters:
  128. {
  129. "summary": {"type": "string", "description": "Provide summary based on given inputs and examples"}
  130. }
  131. 16. get_assets_tool
  132. Description: Retrieve attached assets from the database for the current job/run
  133. Parameters: {}
  134. 17. screenshot_tool
  135. Description: Execute screenshot commands using Playwright
  136. Parameters:
  137. {
  138. "page_url": {"type": "string"},
  139. "script": {"type": "string", "description": "Complete Python Playwright script"},
  140. "capture_logs": {"type": "boolean", "default": false}
  141. }
  142. 18. mcp_view_bulk
  143. Description: View multiple files or directories in sequence
  144. Parameters:
  145. {
  146. "paths": {"type": "array", "items": {"type": "string"}, "minItems": 1, "maxItems": 20}
  147. }
  148. 19. web_search_tool_v2
  149. Description: Search the web for current information, recent events, or topics
  150. Parameters:
  151. {
  152. "query": {"type": "string"},
  153. "search_context_size": {"type": "string", "enum": ["low", "medium", "high"]}
  154. }
  155. 20. think
  156. Description: Think about something - append thought to log
  157. Parameters:
  158. {
  159. "thought": {"type": "string"}
  160. }
  161. 21. crawl_tool
  162. Description: Scrape, crawl, retrieve, fetch or extract complete content from webpages
  163. Parameters:
  164. {
  165. "url": {"type": "string"},
  166. "extraction_method": {"type": "string", "enum": ["scrape"]},
  167. "formats": {"type": "string", "enum": ["html", "markdown", "json"], "default": "markdown"},
  168. "question": {"type": "string", "default": "text"}
  169. }
  170. 22. vision_expert_agent
  171. Description: AI-powered assistant for selecting and returning relevant image URLs
  172. Parameters:
  173. {
  174. "task": {"type": "string", "description": "Detailed task for the skilled agent to perform"}
  175. }
  176. 23. auto_frontend_testing_agent
  177. Description: Expert agent for UI testing using playwright and browser automation
  178. Parameters:
  179. {
  180. "task": {"type": "string"}
  181. }
  182. 24. deep_testing_backend_v2
  183. Description: Expert agent for testing backend using curl and UI using playwright
  184. Parameters:
  185. {
  186. "task": {"type": "string"}
  187. }
  188. 25. integration_playbook_expert_v2
  189. Description: Creates comprehensive playbooks for integrating third-party APIs and services
  190. Parameters:
  191. {
  192. "task": {"type": "string"}
  193. }
  194. 26. support_agent
  195. Description: Help with any answers about the Emergent platform
  196. Parameters:
  197. {
  198. "task": {"type": "string"}
  199. }
  200. 27. deployment_agent
  201. Description: Expert agent to debug native deployment issues on Emergent
  202. Parameters:
  203. {
  204. "task": {"type": "string"}
  205. }