Optimly Developer Documentation

Optimly MCP

Record Action Failed

In short

Record that an external execution action failed. BrandVault completion is recorded by brand_update or brand_publish and does not require this tool.

record_action_failed · Approval required · Authentication required

Record that an external execution action failed. BrandVault completion is recorded by brand_update or brand_publish and does not require this tool.

When to use

Use when an externally executed action failed, with an error code and message when available.

Access

Approved access with action-management permission

Parameters

ParameterTypeRequiredDescription
action_iduuidYesExecution action that failed.
actor{ type, id }YesActor identity; type is human, agent, or system.
error_codestringNoMachine-readable failure code.
error_messagestringNoHuman-readable failure description.
approval_iduuidNoApproval bound to this execution, when required.
external_referencestringNoExternal system reference.
external_urlstringNoExternal URL related to the failure.
brand_iduuidNoAuthorized brand ID. Required when more than one brand is available.

Example prompt

Record that the CMS publish failed with a permissions error.

Side effects and safety

Appends a failed event to the action's status history.