Optimly Developer Documentation

Optimly MCP

Create Execution Action

In short

Create an immutable, payload-hashed action proposal before requesting approval or recording execution. For a single Business Profile field use capability brand_vault_update with operation brand_vault.update_section and exactly { section_key, content }.

create_execution_action · Approval required · Authentication required

Create an immutable, payload-hashed action proposal before requesting approval or recording execution. For a single Business Profile field use capability brand_vault_update with operation brand_vault.update_section and exactly { section_key, content }.

When to use

Use to propose any governed action. For complete BrandVault coverage prefer create_brand_vault_publish_action, whose schema exposes every accepted field.

Access

Approved access with action-management permission

Parameters

ParameterTypeRequiredDescription
operationstringYesOperation identifier, for example brand_vault.update_section.
capabilitystringYesCapability class. Allowed values: publish, amplify, communicate, measure, deploy, retrieve, brand_vault_update, metadata_update.
integrationstringYesExecuting integration.
instructionstringYesHuman-readable instruction.
risk_levelstringYesAssessed risk. Allowed values: low, medium, high.
source_typestringYesWhere the action originated. Allowed values: whitespace_candidate, fix_card, brand_vault, manual, measurement, recommendation.
source_referencestringNoAgent work item UUID when source_type is recommendation.
sanitized_payloadstringYesImmutable approved payload.
payload_previewstringYesHuman-readable payload preview.
approval_requiredbooleanYesWhether the action needs approval before execution.
idempotency_keystringYesPermanent single-use key.
actor{ type, id }YesActor identity; type is human, agent, or system.
constraintsobjectNoOptional execution constraints.
expected_resultobjectNoExpected outcome description.
approved_factsobject[]NoFacts already approved for use.
fix_card_idstringNoSource fix card, when applicable.
whitespace_candidate_iduuidNoSource whitespace candidate, when applicable.
brand_iduuidNoAuthorized brand ID. Required when more than one brand is available.

Example prompt

Create an action proposal to update our Business Profile tagline.

Side effects and safety

Creates an immutable, payload-hashed proposal in the execution ledger. The payload cannot change after creation.