MCP Tool Integration & Browser API Definition

implementationChallengeOctober 23, 2025

Prompt Content

Define the essential UI interaction tools (e.g., `click_element`, `type_text`, `get_page_content`, `handle_alert`, `screenshot_page`) that your agent will use for the CRM task. Specify their input parameters, expected outputs, and potential error modes. Describe how these tools will be exposed to the agent via an MCP server, including the payload structure for tool invocation and result parsing. Provide Python function signatures for each tool and a high-level MCP server implementation sketch.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations