Earn 14 free days when your bug report or suggestion is accepted — how it works
Visual & design

codeloop_update_baseline

Accept the current screenshots as the new visual regression baseline.

When to use codeloop_update_baseline

Use `codeloop_update_baseline` when your AI agent needs to accept the current screenshots as the new visual regression baseline.

Parameters

NameTypeRequiredDescription
run_idstringnoRun id whose screenshots become the new baseline.
project_dirstringnoProject root.

What you get back

List of screenshots promoted to baseline.

FAQ

What does codeloop_update_baseline do?

Accept the current screenshots as the new visual regression baseline.

When should an AI agent call codeloop_update_baseline?

Use `codeloop_update_baseline` when your AI agent needs to accept the current screenshots as the new visual regression baseline.

What does codeloop_update_baseline return?

List of screenshots promoted to baseline.

Is codeloop_update_baseline 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.

Related