codeloop_record_interaction
Record a fixed-duration video of the app window (blocking). Use for simple captures where no scripted interaction is needed.
When to use codeloop_record_interaction
Use `codeloop_record_interaction` when your AI agent needs to record a fixed-duration video of the app window (blocking). use for simple captures where no scripted interaction is needed.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| duration_s | number | yes | Recording duration in seconds. |
| app_name | string | no | App / window name to focus. |
| project_dir | string | no | Project root. |
What you get back
Path to MP4 + run binding.
FAQ
What does codeloop_record_interaction do?
Record a fixed-duration video of the app window (blocking). Use for simple captures where no scripted interaction is needed.
When should an AI agent call codeloop_record_interaction?
Use `codeloop_record_interaction` when your AI agent needs to record a fixed-duration video of the app window (blocking). use for simple captures where no scripted interaction is needed.
What does codeloop_record_interaction return?
Path to MP4 + run binding.
Is codeloop_record_interaction part of the CodeLoop MCP server?
Yes. CodeLoop ships as an MCP server installed via `npx codeloop init`. Cursor and Claude Code call it automatically once the User Rule (Cursor) or CLAUDE.md (Claude Code) is in place.