Message Action Result • AI Agent SDK

MessageActionResult: Outcome of an agent-initiated message mutation (Issue #5054).

MessageActionResult

Defined in the protocols module.

AI Agent

Outcome of an agent-initiated message mutation (Issue #5054).

Shared typed result for the `edit and delete verbs of the unified message-action surface. Every call resolves to exactly one :data:MessageActionStatus, so a channel that cannot edit/delete returns a typed unsupported outcome instead of raising — identical to how :class:ReactionResult and :class:ThreadResult` degrade.

Attributes: status: The outcome (`ok / unsupported / failed / no_route`). target: The resolved target the action was routed to. detail: Optional model-readable explanation.

Properties

ResponseField MessageActionStatus

No description available.

ResponseField str

No description available.

ResponseField Optional[str]

No description available.

Methods

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 3451