Skip to content

docs(agent-devices): typed actions: tap_on, input_text, swipe, press_… - #168

Open
finalerock44 wants to merge 2 commits into
mainfrom
docs/device-typed-actions
Open

finalerock44 wants to merge 2 commits into
mainfrom
docs/device-typed-actions

Conversation

@finalerock44

Copy link
Copy Markdown
Contributor

…key and the dcd device subcommands

The hosted MCP server gains tap_on, input_text, swipe and press_key, and dcd device gains tap, type, swipe and press-key, all over the typed POST /device/sessions/:id/actions route, which is performed on the device directly and answers once the screen has settled. The pages say when to use them and when to use run, and the API row notes mode: "maestro".

…key and the dcd device subcommands

The hosted MCP server gains tap_on, input_text, swipe and press_key, and
dcd device gains tap, type, swipe and press-key, all over the typed
POST /device/sessions/:id/actions route, which is performed on the device
directly and answers once the screen has settled. The pages say when to
use them and when to use run, and the API row notes mode: "maestro".
@finalerock44 finalerock44 self-assigned this Nov 11, 2026
Comment thread api/device-sessions.md Resolved
…mode: maestro

The performAction description said each action becomes a Maestro command
that waits up to 120 s. It now says the device performs it directly and
answers once the screen has settled, that mode: "maestro" runs it as a
Maestro flow instead, and that a tap on something not on screen waits
about 17 s. Each action schema gains the optional mode field (ActionMode),
and TapAction says text and id are matched whole, ignoring case.
@claude

claude Bot commented Nov 11, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Note for the human reviewer: as CLAUDE.md asks, this PR adds CLI flags and API fields that the rest of the docs don't use yet. Please confirm they exist in the current dcd CLI and API:

  • dcd device tap|type|swipe|press-key with --text, --rid, --x/--y, --sensitive, --from/--to and --maestro
  • the MCP tools tap_on, input_text, swipe and press_key
  • mode: "maestro" on POST /device/sessions/:id/actions

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant