input

input is a command for coding agents from yurilopes/pydoll-mcp-server. It costs 0 tokens per session (425 once invoked), scanned A, original, MIT.

A set of browser-control commands for simulating mouse and keyboard input, such as clicks, movement, typing, and key presses.

In plain words
What is it for?
Clicking controls, typing into fields, pressing keys, scrolling, dragging, and sending lower-level browser input events.
Why use it?
It lets automated browser work perform the same basic input actions a person would perform.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/yurilopes/pydoll-mcp-server/input
Clone the repo
git clone --depth 1 https://github.com/yurilopes/pydoll-mcp-server

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for input

README.md
[![agentmods](https://agentmods.dev/badge/commands/yurilopes/pydoll-mcp-server/input.svg)](https://agentmods.dev/commands/yurilopes/pydoll-mcp-server/input)
Your own site
<a href="https://agentmods.dev/commands/yurilopes/pydoll-mcp-server/input"><img src="https://agentmods.dev/badge/commands/yurilopes/pydoll-mcp-server/input.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 425 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00425
Opus 5 $0.00000 $0.00212
Sonnet 5 $0.00000 $0.00085
Haiku 4.5 $0.00000 $0.00042

Measured 4d ago against content hash f658eea83f85, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

input scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

references/pydoll-docs/en/api/commands/input.md · 75 lines

What it actually says

Input Commands

Input commands handle mouse and keyboard interactions, providing human-like input simulation.

Overview

The input commands module provides functionality for simulating user input including mouse movements, clicks, keyboard typing, and key presses.

::: pydoll.commands.input_commands options: show_root_heading: true show_source: false heading_level: 2 filters: - "!^_" - "!^__"

Usage

Input commands are used by element interaction methods and can be used directly for advanced input scenarios:

from pydoll.commands.input_commands import dispatch_mouse_event, dispatch_key_event
from pydoll.connection.connection_handler import ConnectionHandler

# Simulate mouse click
connection = ConnectionHandler()
await dispatch_mouse_event(
    connection, 
    type="mousePressed", 
    x=100, 
    y=200, 
    button="left"
)

# Simulate keyboard typing
await dispatch_key_event(
    connection,
    type="keyDown",
    key="Enter"
)

Key Functionality

The input commands module provides functions for:

Mouse Events

  • dispatch_mouse_event() - Mouse clicks, movements, and wheel events
  • Mouse button states (left, right, middle)
  • Coordinate-based positioning
  • Drag and drop operations

Keyboard Events

  • dispatch_key_event() - Key press and release events
  • insert_text() - Direct text insertion
  • Special key handling (Enter, Tab, Arrow keys, etc.)
  • Modifier keys (Ctrl, Alt, Shift)

Touch Events

  • Touch screen simulation
  • Multi-touch gestures
  • Touch coordinates and pressure

Human-like Behavior

The input commands support human-like behavior patterns:

  • Natural mouse movement curves
  • Realistic typing speeds and patterns
  • Random micro-delays between actions
  • Pressure-sensitive touch events

!!! tip "Element Methods" For most use cases, use the higher-level element methods like element.click() and element.type_text() which provide a more convenient API and handle common scenarios automatically.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 75 lines · 0 tokens per session scan A f658eea83f85

Subscribe to this mod's changes

input is a command published in the GitHub repository yurilopes/pydoll-mcp-server (1 stars, last pushed 20d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 425 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.