Skip to main content
Glama
HyperClockUp

DrissionPageMCPServer_Modified

by HyperClockUp

input_text

Enter text into web input fields using precise CSS selectors, with options to clear existing content first for accurate automation.

Instructions

在输入框中输入文本(智能优化版)

        ⚠️ 重要提示:使用此工具前,请务必遵循标准化工作流程:
        1. 📸 先使用 take_screenshot() 确认输入框存在且可见
        2. 🔍 使用 find_elements() 验证输入框的选择器
        3. 🎯 基于准确的DOM信息构建选择器
        
        🎯 输入框选择器优先级:
        - ID选择器:#input-id (最优先)
        - name属性:[name="username"]
        - CSS类选择器:.form-input
        - XPath选择器://input[@type="text"]
        
        Args:
            selector: 输入框选择器(必须基于实际DOM结构,禁止猜测)
            text: 要输入的文本内容
            clear_first: 是否先清空输入框(推荐True避免内容叠加)
            
        Returns:
            str: 输入操作结果和反馈信息
            
        💡 最佳实践示例:
        - 正确:先 find_elements("input[type='text']") 确认输入框,再输入文本
        - 错误:直接对未确认的选择器输入文本
        

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectorYes
textYes
clear_firstNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HyperClockUp/DrissionPageMCPServer_Modified'

If you have feedback or need assistance with the MCP directory API, please join our Discord server