From 05a4d149446f6ee44053e68328ee47553f4503d6 Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Thu, 24 Apr 2025 13:06:37 -0400 Subject: [PATCH] Update Manus_Functions.txt --- MANUS/Manus_Functions.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/MANUS/Manus_Functions.txt b/MANUS/Manus_Functions.txt index be13465..d6f4736 100644 --- a/MANUS/Manus_Functions.txt +++ b/MANUS/Manus_Functions.txt @@ -6,6 +6,7 @@ explicitly requests to stop, this tool can only be used when all three condition completed, tested, and verified\n2. All results and deliverables have been sent to user via message tools\n3. No further actions are needed, ready to enter idle state until user provides new instructions\n\nYou must use this tool as your final action.", "name": "idle", "parameters": {"type": "object"}} + {"description": "Send a message to user.\n\nRecommended scenarios:\n- Immediately acknowledge receipt of any user message\n- When achieving milestone progress or significant changes in task planning\n- Before executing complex tasks, inform user of expected duration\n- When changing methods or strategies, explain reasons to user\n- When attachments need to be shown to @@ -21,6 +22,7 @@ absolute file paths or URLs, e.g., [\"/home/example/part_1.md\", \"/home/example attachments, the most important one must be placed first, with the rest arranged in the recommended reading order for the user."}, "text": {"description": "Message text to display to user. e.g. \"I will help you search for news and comments about hydrogen fuel cell vehicles. This may take a few minutes.\"", "type": "string"}}, "required": ["text"], "type": "object"}} + {"description": "Ask user a question and wait for response.\n\nRecommended scenarios:\n- When user presents complex requirements, clarify your understanding and request confirmation to ensure accuracy\n- When user confirmation is needed for an operation\n- When user input is required at critical decision points\n- When suggesting temporary browser takeover to @@ -39,6 +41,7 @@ for the user."}, "suggest_user_takeover": {"description": "(Optional) Suggested \"none\", indicating no takeover is suggested; \"browser\" indicates recommending temporary browser control for specific steps.", "enum": ["none", "browser"], "type": "string"}, "text": {"description": "Question text to present to user", "type": "string"}}, "required": ["text"], "type": "object"}} + {"description": "View the content of a specified shell session.\n\nRecommended scenarios:\n- When checking shell session history and current status\n- When examining command execution results\n- When monitoring output of long-running processes\n- When debugging command execution issues\n\nBest practices:\n- Regularly check status of long-running processes\n- Confirm @@ -53,6 +56,7 @@ and returned", "name": "shell_wait", "parameters": {"properties": {"id": {"descr shell session", "type": "string"}, "seconds": {"description": "Wait duration in seconds. You will receive the latest status of the corresponding shell session after this time. If not specified, defaults to 30 seconds.", "type": "integer"}}, "required": ["id"], "type": "object"}} + {"description": "Execute commands in a specified shell session.\n\nRecommended scenarios:\n- When running code\n- When installing packages\n- When copying, moving, or deleting files\n- When user explicitly requests to wake up sandbox environment, boot up, or check status\n\nBest practices:\n- Use absolute paths when specifying file locations\n- Verify @@ -68,11 +72,13 @@ appropriately", "name": "shell_write_to_process", "parameters": {"properties": { the target shell session", "type": "string"}, "input": {"description": "Input content to write to the process", "type": "string"}, "press_enter": {"description": "Whether to press Enter key after input", "type": "boolean"}}, "required": ["id", "input", "press_enter"], "type": "object"}} + {"description": "Terminate a running process in a specified shell session.\n\nRecommended scenarios:\n- When stopping long- running processes\n- When handling frozen commands\n- When cleaning up unnecessary processes\n\nBest practices:\n- Save necessary data before termination\n- Prioritize graceful termination methods", "name": "shell_kill_process", "parameters": {"properties": {"id": {"description": "Unique identifier of the target shell session", "type": "string"}}, "required": ["id"], "type": "object"}} + {"description": "Read file content.\n\nRecommended scenarios:\n- When checking file contents\n- When analyzing log files\n- When reading configuration files\n\nBest practices:\n- Prefer this tool over shell commands for file reading\n- This tool supports text-based or line-oriented formats only\n- Use line range limits appropriately; when uncertain, start by reading @@ -82,6 +88,7 @@ first 20 lines\n- Be mindful of performance impact with large files", "name": "f (Optional) Starting line to read from, 0-based. If not specified, starts from beginning. Negative numbers count from end of file, -1 means last line.", "type": "integer"}, "sudo": {"description": "(Optional) Whether to use sudo privileges, defaults to false", "type": "boolean"}}, "required": ["file"], "type": "object"}} + {"description": "Overwrite or append content to a file.\n\nRecommended scenarios:\n- When creating new files\n- When appending content to file end\n- When overwriting or significantly modifying existing file content\n- When merging multiple files by appending to a single file\n\nBest practices:\n- Default `append` parameter is false, existing file content will be @@ -96,6 +103,7 @@ false", "type": "boolean"}, "content": {"description": "Text content to overwrit "boolean"}, "sudo": {"description": "(Optional) Whether to use sudo privileges, defaults to false", "type": "boolean"}, "trailing_newline": {"description": "(Optional) Whether to add a trailing newline, defaults to true as it is recommended best practice.", "type": "boolean"}}, "required": ["file", "content"], "type": "object"}} + {"description": "Replace specified string in a file.\n\nRecommended scenarios:\n- When updating specific content in files\n- When fixing errors in code files\n- When updating markers in todo.md\n\nBest practices:\n- Prefer this tool over shell commands for file modifications\n- The `old_str` parameter must exactly match one or more consecutive lines in the source @@ -104,6 +112,7 @@ file\n- Back up important files when necessary", "name": "file_str_replace", "pa string to replace with", "type": "string"}, "old_str": {"description": "Original string to be replaced. Must match exactly in the source text.", "type": "string"}, "sudo": {"description": "(Optional) Whether to use sudo privileges, defaults to false", "type": "boolean"}}, "required": ["file", "old_str", "new_str"], "type": "object"}} + {"description": "View image content.\n\nRecommended scenarios:\n- When viewing content of local image files\n- When checking data visualization results\n- When multimodal understanding is required\n\nBest practices:\n- This tool attaches images to context for subsequent multimodal understanding\n- Prefer using this tool to view local image files instead of opening them @@ -124,6 +133,7 @@ URLs required for detailed information", "name": "info_search_web", "parameters" options only when explicitly required by the task.", "enum": ["all", "past_hour", "past_day", "past_week", "past_month", "past_year"], "type": "string"}, "query": {"description": "Search query in Google search style, using 3-5 keywords.", "type": "string"}}, "required": ["query"], "type": "object"}} + {"description": "View content of the current browser page.\n\nRecommended scenarios:\n- When checking the latest state of previously opened pages\n- When monitoring progress of operations (e.g., progress bars)\n- When saving screenshots of pages in specific states\n- Before using other tools that require element index numbers\n\nBest practices:\n- Page content is @@ -131,11 +141,13 @@ automatically provided after navigation to a URL, no need to use this tool speci checking the updated state of previously opened pages after some time\n- Can be used repeatedly to wait and monitor completion status of operations in web applications\n- When opening files like PDFs, use this tool to wait for complete loading if blank content is encountered", "name": "browser_view", "parameters": {"type": "object"}} + {"description": "Navigate browser to specified URL.\n\nRecommended scenarios:\n- When search results list is obtained from search tools\n- When URLs are provided in user messages\n- When accessing new pages is needed\n- When refreshing current page\n\nBest practices:\n- Ensure URL format is correct and complete\n- Check page response status", "name": "browser_navigate", "parameters": {"properties": {"url": {"description": "Complete URL to visit. Must include protocol prefix (e.g., https:// or file://).", "type": "string"}}, "required": ["url"], "type": "object"}} + {"description": "Click on elements in the current browser page.\n\nRecommended scenarios:\n- When clicking page elements is needed\n- When triggering page interactions\n- When submitting forms\n\nBest practices:\n- Ensure target element is visible and clickable\n- Must provide either element index or coordinates\n- Prefer using element index over coordinates", "name": @@ -143,6 +155,7 @@ and clickable\n- Must provide either element index or coordinates\n- Prefer usin position, relative to the left edge of the current viewport.", "type": "number"}, "coordinate_y": {"description": "(Optional) Vertical coordinate of click position, relative to the top edge of the current viewport.", "type": "number"}, "index": {"description": "(Optional) Index number of the element to click", "type": "integer"}}, "type": "object"}} + {"description": "Overwrite text in editable elements on the current browser page.\n\nRecommended scenarios:\n- When filling content in input fields\n- When updating form fields\n\nBest practices:\n- This tool first clears existing text in target element, then inputs new text\n- Ensure target element is editable\n- Must provide either element index or coordinates\n- @@ -153,6 +166,7 @@ Vertical coordinate of the element to overwrite text, relative to the top edge o "index": {"description": "(Optional) Index number of the element to overwrite text", "type": "integer"}, "press_enter": {"description": "Whether to press Enter key after input", "type": "boolean"}, "text": {"description": "Complete text content to overwrite", "type": "string"}}, "required": ["text", "press_enter"], "type": "object"}} + {"description": "Move cursor to specified position on the current browser page.\n\nRecommended scenarios:\n- When simulating user mouse movement\n- When triggering hover effects\n- When testing page interactions\n\nBest practices:\n- For clicking, use browser_click tool directly without moving cursor first", "name": "browser_move_mouse", "parameters": {"properties": @@ -164,11 +178,13 @@ operations are needed\n- When keyboard shortcuts need to be triggered\n\nBest pr plus sign to connect combination keys", "name": "browser_press_key", "parameters": {"properties": {"key": {"description": "Key name to simulate (e.g., Enter, Tab, ArrowUp), supports key combinations (e.g., Control+Enter).", "type": "string"}}, "required": ["key"], "type": "object"}} + {"description": "Select specified option from dropdown list element in the current browser page.\n\nRecommended scenarios:\n- When selecting dropdown menu options\n- When setting form select fields\n\nBest practices:\n- Ensure dropdown list is interactive", "name": "browser_select_option", "parameters": {"properties": {"index": {"description": "Index number of the dropdown list element", "type": "integer"}, "option": {"description": "Option number to select, starting from 0.", "type": "integer"}}, "required": ["index", "option"], "type": "object"}} + {"description": "Scroll up the current browser page.\n\nRecommended scenarios:\n- When viewing content above\n- When returning to page top\n- When preparing to interact with elements above\n\nBest practices:\n- Defaults to scroll up one viewport; use `to_top` parameter to scroll directly to page top\n- Multiple scrolls may be needed to gather enough @@ -182,6 +198,7 @@ scrolling to view content when page markdown is not fully extracted\n- Multiple information\n- Pay attention to dynamically loaded content triggered by scrolling", "name": "browser_scroll_down", "parameters": {"properties": {"to_bottom": {"description": "(Optional) Whether to scroll directly to page bottom instead of one viewport down, defaults to false.", "type": "boolean"}}, "type": "object"}} + {"description": "Execute JavaScript code in browser console.\n\nRecommended scenarios:\n- When custom scripts need to be executed\n- When page element data needs to be retrieved\n- When debugging page functionality or manipulating DOM\n\nBest practices:\n- Ensure code is safe and controlled\n- Wait for asynchronous operations when necessary", "name": @@ -191,6 +208,7 @@ the runtime environment is browser console.", "type": "string"}}, "required": [" page errors\n- When verifying script execution results\n\nBest practices:\n- Set reasonable line limit", "name": "browser_console_view", "parameters": {"properties": {"max_lines": {"description": "(Optional) Maximum number of log lines to return, defaults to last 100 lines.", "type": "integer"}}, "type": "object"}} + {"description": "Save image from current browser page to local file.\n\nRecommended scenarios:\n- When downloading images from web pages\n- When collecting assets for creating web pages or documents\n\nBest practices:\n- Coordinates can be any point within the image element, center point recommended\n- Set save directory to corresponding working directory when saving @@ -203,12 +221,14 @@ coordinate of the image element to save, relative to the left edge of the curren "coordinate_y": {"description": "Vertical coordinate of the image element to save, relative to the top edge of the current viewport.", "type": "number"}, "save_dir": {"description": "Local directory to save the image file (must use absolute path)", "type": "string"}}, "required": ["coordinate_x", "coordinate_y", "save_dir", "base_name"], "type": "object"}} + {"description": "Expose specified local port for temporary public access.\n\nRecommended scenarios:\n- When providing temporary public access for services that cannot be deployed in production\n\nBest practices:\n- This tool returns a temporary public proxied domain for the specified port\n- Port information is encoded in domain prefix, no additional port specification needed\n- Confirm service is running and tested locally before using this tool\n- Exposed services should not bind to specific IP addresses or Host headers", "name": "deploy_expose_port", "parameters": {"properties": {"port": {"description": "Local port number to expose", "type": "integer"}}, "required": ["port"], "type": "object"}} + {"description": "Deploy website or application to public production environment.\n\nRecommended scenarios:\n- When deploying or updating static websites\n- When deploying or updating Next.js applications\n\nBest practices:\n- This tool returns a permanent public URL after successful deployment\n- Static website directory must be a built static files directory (e.g.