Skip to content

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

Merged
finalerock44 merged 3 commits into
mainfrom
docs/device-typed-actions
Nov 13, 2026
Merged

finalerock44 merged 3 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

Device sessions now run on agent-device (#170), so the typed-action pages
follow production rather than the Maestro direct path:
- drop mode: "maestro" and --maestro: the API accepts and ignores mode,
  and CLI 5.13.0's --maestro has no effect
- drop "usually well under a second"; actions answer once the screen
  has settled
- press_key: lock, power and the volume keys are Android only, with
  production's iOS notes
- tool reference: tap_on, input_text, swipe, press_key and run match the
  production tool descriptions
- keep main's hideKeyboard note in the agent instructions
@finalerock44
finalerock44 merged commit cec2d8c into main Nov 13, 2026
2 checks passed
@finalerock44
finalerock44 deleted the docs/device-typed-actions branch November 13, 2026 17:50
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